Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 288.2 MB / 303.2 MB, free: 8.105 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.00114/0.00114, allocations: 186 kB / 371.8 MB, free: 10.27 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.722/1.722, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009783/0.0009783, allocations: 101.8 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004023, allocations: 15.59 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2382, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8366/1.075, allocations: 170.9 MB / 1.146 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/1.075, allocations: 99.78 kB / 1.146 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.44/1.515, allocations: 182.4 MB / 1.325 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.22e-06/1.515, allocations: 0 / 1.325 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006846/1.516, allocations: 120 kB / 1.325 GB, free: 15.18 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01918/1.535, allocations: 4.504 MB / 1.329 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.41e-05/1.535, allocations: 15.95 kB / 1.329 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004589/1.54, allocations: 0.7061 MB / 1.33 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007976/1.548, allocations: 1.024 MB / 1.331 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/1.559, allocations: 3.217 MB / 1.334 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004866/1.56, allocations: 361.7 kB / 1.334 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/1.563, allocations: 476 kB / 1.335 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02494/1.588, allocations: 7.499 MB / 1.342 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003/1.588, allocations: 23.72 kB / 1.342 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00279/1.591, allocations: 224 kB / 1.342 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005521/1.591, allocations: 265.2 kB / 1.343 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/1.607, allocations: 5.403 MB / 1.348 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05354/1.661, allocations: 36.26 MB / 1.383 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/1.665, allocations: 2.132 MB / 1.385 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/1.665, allocations: 17.31 kB / 1.385 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/1.665, allocations: 51.88 kB / 1.385 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=157): time 1.787e-05/1.665, allocations: 0 / 1.385 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=160): time 0.01733/1.683, allocations: 7.534 MB / 1.393 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/1.683, allocations: 72.66 kB / 1.393 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/1.686, allocations: 1.564 MB / 1.394 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/1.687, allocations: 53.7 kB / 1.394 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001779/1.688, allocations: 2.096 MB / 1.396 GB, free: 1.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007128/1.689, allocations: 0.5584 MB / 1.397 GB, free: 0.9141 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/1.689, allocations: 44 kB / 1.397 GB, free: 0.8711 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002326/1.69, allocations: 390.1 kB / 1.397 GB, free: 496 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.691, allocations: 1.015 MB / 1.398 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/1.693, allocations: 1.728 MB / 1.4 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/1.695, allocations: 1.298 MB / 1.401 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-05/1.695, allocations: 12 kB / 1.401 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.007192/1.702, allocations: 3.804 MB / 1.405 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/1.702, allocations: 17.09 kB / 1.405 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.221e-05/1.702, allocations: 24 kB / 1.405 GB, free: 8.191 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002446/1.705, allocations: 0.9194 MB / 1.406 GB, free: 7.234 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/1.706, allocations: 411.3 kB / 1.406 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6745/2.381, allocations: 21.39 MB / 1.427 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/2.384, allocations: 121.4 kB / 1.427 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002967/2.384, allocations: 97.89 kB / 1.427 GB, free: 235.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (215): * Single equations (assignments): 203 * 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%) 6,(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.004391/2.388, allocations: 1.646 MB / 1.429 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00078/2.389, allocations: 255.8 kB / 1.429 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006368/2.396, allocations: 3.256 MB / 1.432 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/2.396, allocations: 16.41 kB / 1.433 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/2.396, allocations: 10.88 kB / 1.433 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/2.396, allocations: 12.06 kB / 1.433 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/2.411, allocations: 7.503 MB / 1.44 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/2.411, allocations: 7.516 kB / 1.44 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009846/2.412, allocations: 221.5 kB / 1.44 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/2.415, allocations: 0.8801 MB / 1.441 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/2.415, allocations: 30.97 kB / 1.441 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02059/2.436, allocations: 21.37 MB / 1.462 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/2.436, allocations: 8.25 kB / 1.462 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007371/2.443, allocations: 3.695 MB / 1.465 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/2.445, allocations: 0.5296 MB / 1.466 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/2.445, allocations: 31.5 kB / 1.466 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/2.447, allocations: 90.81 kB / 1.466 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005434/2.447, allocations: 145.9 kB / 1.466 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/2.447, allocations: 44.94 kB / 1.466 GB, free: 218.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002363/2.45, allocations: 1.182 MB / 1.467 GB, free: 218 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.21e-07/2.45, allocations: 0 / 1.467 GB, free: 218 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005128/2.455, allocations: 0.9339 MB / 1.468 GB, free: 218 MB / 0.948 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 (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008256/2.463, allocations: 5.422 MB / 1.474 GB, free: 215.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008554/2.472, allocations: 4.346 MB / 1.478 GB, free: 214.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/2.472, allocations: 2.688 kB / 1.478 GB, free: 214.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004762/2.476, allocations: 2.989 MB / 1.481 GB, free: 212.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/2.481, allocations: 0.7194 MB / 1.482 GB, free: 212.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04754/2.528, allocations: 37.37 MB / 1.518 GB, free: 188 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00405/2.532, allocations: 3.293 MB / 1.521 GB, free: 187.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002378/2.535, allocations: 0.5152 MB / 1.522 GB, free: 187.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/2.537, allocations: 1.673 MB / 1.523 GB, free: 187.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.202e-06/2.537, allocations: 3 kB / 1.523 GB, free: 187.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/2.651, allocations: 67.88 MB / 1.59 GB, free: 184.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/2.651, allocations: 231.6 kB / 1.59 GB, free: 184.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.047/6.697, allocations: 3.125 kB / 1.59 GB, free: 184.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)