Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001045, allocations: 84.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.22/0.22, allocations: 37.99 MB / 348 MB, free: 7.766 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.782e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 56.32 MB / 467 MB, free: 6.469 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4744/0.5954, allocations: 103.9 MB / 0.5575 GB, free: 6.984 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.5958, allocations: 87.95 kB / 0.5576 GB, free: 6.898 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05132/0.6471, allocations: 17.32 MB / 0.5745 GB, free: 5.418 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6472, allocations: 0 / 0.5745 GB, free: 5.418 MB / 411.1 MB Notification: Performance of Transformations before backend: time 4.261e-05/0.6473, allocations: 20 kB / 0.5745 GB, free: 5.398 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001552/0.6488, allocations: 0.7736 MB / 0.5753 GB, free: 4.574 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.6489, allocations: 8.781 kB / 0.5753 GB, free: 4.566 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.65, allocations: 155.1 kB / 0.5754 GB, free: 4.414 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.6535, allocations: 1.202 MB / 0.5766 GB, free: 3.172 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.6536, allocations: 16 kB / 0.5766 GB, free: 3.156 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.6537, allocations: 28 kB / 0.5766 GB, free: 3.129 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009559/0.6547, allocations: 0.5219 MB / 0.5771 GB, free: 2.605 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.6559, allocations: 0.7801 MB / 0.5779 GB, free: 1.758 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.6559, allocations: 3.906 kB / 0.5779 GB, free: 1.754 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.656, allocations: 11.92 kB / 0.5779 GB, free: 1.742 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/0.6562, allocations: 32.77 kB / 0.5779 GB, free: 1.711 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.6688, allocations: 5.673 MB / 0.5835 GB, free: 11.9 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.6701, allocations: 0.7327 MB / 0.5842 GB, free: 11.15 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007656/0.6709, allocations: 0.624 MB / 0.5848 GB, free: 10.52 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.129e-05/0.671, allocations: 16.41 kB / 0.5848 GB, free: 10.5 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.671, allocations: 35 kB / 0.5849 GB, free: 10.46 MB / 427.1 MB Notification: Performance of pre-optimization done (n=52): time 7.293e-06/0.6711, allocations: 0 / 0.5849 GB, free: 10.46 MB / 427.1 MB Notification: Performance of matching and sorting (n=53): time 0.01656/0.6876, allocations: 5.237 MB / 0.59 GB, free: 5.156 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.6878, allocations: 85.55 kB / 0.5901 GB, free: 5.055 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.6884, allocations: 333 kB / 0.5904 GB, free: 4.723 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003182/0.6887, allocations: 25.7 kB / 0.5904 GB, free: 4.691 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.689, allocations: 323.7 kB / 0.5907 GB, free: 4.371 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.6893, allocations: 253 kB / 0.5909 GB, free: 4.121 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.6894, allocations: 4 kB / 0.5909 GB, free: 4.117 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.6896, allocations: 366.7 kB / 0.5913 GB, free: 3.75 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.6907, allocations: 0.7752 MB / 0.5921 GB, free: 2.977 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.692, allocations: 0.9945 MB / 0.593 GB, free: 1.895 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.6934, allocations: 0.8864 MB / 0.5939 GB, free: 1.008 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6934, allocations: 0 / 0.5939 GB, free: 1.008 MB / 427.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01676/0.7102, allocations: 5.291 MB / 0.5991 GB, free: 11.7 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.7103, allocations: 16.08 kB / 0.5991 GB, free: 11.68 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01259/0.7229, allocations: 4.203 MB / 0.6032 GB, free: 7.469 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01898/0.742, allocations: 5.79 MB / 0.6088 GB, free: 1.672 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.7426, allocations: 115.8 kB / 0.6089 GB, free: 1.559 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/0.7594, allocations: 10.44 MB / 0.6191 GB, free: 6.992 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008921/0.7604, allocations: 47.88 kB / 0.6192 GB, free: 6.945 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.7607, allocations: 159.9 kB / 0.6193 GB, free: 6.789 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003117/0.761, allocations: 124.8 kB / 0.6195 GB, free: 6.66 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01332/0.7743, allocations: 3.849 MB / 0.6232 GB, free: 2.789 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/0.7747, allocations: 51.39 kB / 0.6233 GB, free: 2.738 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.7883, allocations: 4.021 MB / 0.6272 GB, free: 14.7 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-05/0.7884, allocations: 8 kB / 0.6272 GB, free: 14.69 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7884, allocations: 0 / 0.6272 GB, free: 14.69 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.7884, allocations: 3.984 kB / 0.6272 GB, free: 14.68 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/0.8047, allocations: 5.348 MB / 0.6324 GB, free: 9.277 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.8048, allocations: 0 / 0.6324 GB, free: 9.277 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.8052, allocations: 67.94 kB / 0.6325 GB, free: 9.211 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02557/0.8308, allocations: 7.857 MB / 0.6402 GB, free: 1.328 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005037/0.8314, allocations: 235.8 kB / 0.6404 GB, free: 1.098 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.321/1.152, allocations: 13.34 MB / 0.6534 GB, free: 141.9 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.152, allocations: 5.891 kB / 0.6534 GB, free: 141.9 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/1.168, allocations: 4.479 MB / 0.6578 GB, free: 141.3 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/1.168, allocations: 122.5 kB / 0.6579 GB, free: 141.2 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003642/1.168, allocations: 183.3 kB / 0.6581 GB, free: 141.2 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/1.169, allocations: 36.12 kB / 0.6581 GB, free: 141.2 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006672/1.17, allocations: 143.7 kB / 0.6583 GB, free: 141.2 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002359/1.17, allocations: 166.7 kB / 0.6584 GB, free: 141.2 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0002788/1.17, allocations: 242.5 kB / 0.6586 GB, free: 141 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.17, allocations: 3.312 kB / 0.6587 GB, free: 141 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001785/1.172, allocations: 376.4 kB / 0.659 GB, free: 141 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01489/1.187, allocations: 5.354 MB / 0.6642 GB, free: 139.1 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.005384/1.192, allocations: 2.334 MB / 0.6665 GB, free: 138.2 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.192, allocations: 0 / 0.6665 GB, free: 138.2 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003527/1.196, allocations: 1.529 MB / 0.668 GB, free: 137.6 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/1.197, allocations: 104.3 kB / 0.6681 GB, free: 137.6 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/1.202, allocations: 3.499 MB / 0.6715 GB, free: 136.2 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/1.203, allocations: 0.9899 MB / 0.6725 GB, free: 135.4 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.000455/1.203, allocations: 140 kB / 0.6726 GB, free: 135.4 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/1.204, allocations: 210.4 kB / 0.6728 GB, free: 135.3 MB / 475.1 MB Notification: Performance of SimCode: time 8.02e-07/1.204, allocations: 0 / 0.6728 GB, free: 135.3 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06694/1.271, allocations: 38.01 MB / 0.71 GB, free: 108.8 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.271, allocations: 138.5 kB / 0.7101 GB, free: 108.6 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/4.009, allocations: 0 / 0.7101 GB, free: 108.6 MB / 475.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)