Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 185.1 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 0.6366 GB, free: 9.496 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 91.31 kB / 0.7509 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 16 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2826, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8223/1.105, allocations: 171.9 MB / 1.156 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/1.105, allocations: 98.34 kB / 1.156 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.4439/1.549, allocations: 180.5 MB / 1.333 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.208e-06/1.549, allocations: 0 / 1.333 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004244/1.55, allocations: 124 kB / 1.333 GB, free: 3.934 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01683/1.567, allocations: 4.11 MB / 1.337 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/1.567, allocations: 16.02 kB / 1.337 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003988/1.571, allocations: 0.6897 MB / 1.337 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007963/1.579, allocations: 0.9523 MB / 1.338 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009872/1.589, allocations: 2.979 MB / 1.341 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004804/1.589, allocations: 350.5 kB / 1.342 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002682/1.592, allocations: 471.8 kB / 1.342 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02616/1.618, allocations: 7.311 MB / 1.349 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000577/1.619, allocations: 19.78 kB / 1.349 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003078/1.622, allocations: 217.6 kB / 1.349 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005898/1.623, allocations: 277 kB / 1.35 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/1.638, allocations: 5.18 MB / 1.355 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7283/2.366, allocations: 35.07 MB / 1.389 GB, free: 146 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/2.369, allocations: 2.146 MB / 1.391 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.241e-05/2.369, allocations: 12.94 kB / 1.391 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/2.369, allocations: 49.09 kB / 1.391 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=133): time 4.649e-06/2.369, allocations: 0 / 1.391 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=136): time 0.01565/2.384, allocations: 7.064 MB / 1.398 GB, free: 143.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/2.385, allocations: 66.86 kB / 1.398 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/2.388, allocations: 1.274 MB / 1.399 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/2.388, allocations: 47.77 kB / 1.399 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001647/2.389, allocations: 1.986 MB / 1.401 GB, free: 142.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005257/2.39, allocations: 488.7 kB / 1.402 GB, free: 142.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/2.39, allocations: 36.59 kB / 1.402 GB, free: 142.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001575/2.39, allocations: 379.9 kB / 1.402 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/2.392, allocations: 0.8963 MB / 1.403 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/2.394, allocations: 1.555 MB / 1.405 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/2.397, allocations: 1.177 MB / 1.406 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/2.397, allocations: 6.031 kB / 1.406 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007891/2.405, allocations: 3.482 MB / 1.409 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/2.405, allocations: 17.03 kB / 1.409 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/2.405, allocations: 19.12 kB / 1.409 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002625/2.407, allocations: 0.9007 MB / 1.41 GB, free: 140.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/2.409, allocations: 347.1 kB / 1.41 GB, free: 140.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/2.427, allocations: 21.55 MB / 1.431 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/2.43, allocations: 99.58 kB / 1.432 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/2.43, allocations: 89.88 kB / 1.432 GB, free: 125.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003618/2.433, allocations: 1.604 MB / 1.433 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/2.434, allocations: 203.2 kB / 1.433 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005034/2.439, allocations: 2.98 MB / 1.436 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/2.439, allocations: 12.53 kB / 1.436 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/2.439, allocations: 8.969 kB / 1.436 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/2.439, allocations: 10.84 kB / 1.436 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/2.453, allocations: 7.268 MB / 1.443 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/2.453, allocations: 2.875 kB / 1.443 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007593/2.454, allocations: 183.3 kB / 1.444 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/2.456, allocations: 0.8188 MB / 1.444 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/2.457, allocations: 34.11 kB / 1.444 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/2.472, allocations: 20.62 MB / 1.465 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/2.472, allocations: 9.469 kB / 1.465 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005481/2.478, allocations: 3.293 MB / 1.468 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/2.479, allocations: 467.2 kB / 1.468 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/2.48, allocations: 25.44 kB / 1.468 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/2.481, allocations: 71.86 kB / 1.468 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000418/2.481, allocations: 128.1 kB / 1.468 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-05/2.481, allocations: 41.91 kB / 1.469 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001427/2.483, allocations: 0.9604 MB / 1.469 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.41e-07/2.483, allocations: 0 / 1.469 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00399/2.487, allocations: 0.8281 MB / 1.47 GB, free: 107.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00555/2.492, allocations: 5.043 MB / 1.475 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005581/2.498, allocations: 3.98 MB / 1.479 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.498, allocations: 0 / 1.479 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003501/2.501, allocations: 2.731 MB / 1.482 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/2.505, allocations: 0.6474 MB / 1.482 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/2.544, allocations: 33.49 MB / 1.515 GB, free: 79.56 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003525/2.547, allocations: 3.188 MB / 1.518 GB, free: 78.31 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001848/2.549, allocations: 459.5 kB / 1.519 GB, free: 78.26 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/2.551, allocations: 1.543 MB / 1.52 GB, free: 76.94 MB / 0.9323 GB Notification: Performance of SimCode: time 1.082e-06/2.551, allocations: 0 / 1.52 GB, free: 76.94 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1714/2.722, allocations: 59.44 MB / 1.578 GB, free: 74.25 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/2.722, allocations: 221.7 kB / 1.578 GB, free: 74.02 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.912/6.635, allocations: 0 / 1.578 GB, free: 74.02 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)