Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.591/2.591, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001503/0.001503, allocations: 184.8 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.44/2.44, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001097/0.001097, allocations: 88.95 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.734e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8593/0.8593, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2903/1.15, allocations: 170 MB / 1.129 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/1.15, allocations: 92.59 kB / 1.129 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.393/2.544, allocations: 180.7 MB / 1.306 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.367e-06/2.544, allocations: 0 / 1.306 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005218/2.544, allocations: 132.3 kB / 1.306 GB, free: 183.9 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.0206/2.565, allocations: 4.146 MB / 1.31 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/2.565, allocations: 13.53 kB / 1.31 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/2.575, allocations: 1.015 MB / 1.311 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/2.589, allocations: 3.217 MB / 1.314 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003144/2.589, allocations: 154.9 kB / 1.314 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/2.592, allocations: 282.1 kB / 1.315 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01558/2.607, allocations: 4.715 MB / 1.319 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0242/2.632, allocations: 6.702 MB / 1.326 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003102/2.632, allocations: 21.72 kB / 1.326 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002238/2.634, allocations: 18.8 kB / 1.326 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004441/2.635, allocations: 266.9 kB / 1.326 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05303/2.688, allocations: 35.21 MB / 1.361 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005059/2.693, allocations: 2.048 MB / 1.363 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/2.696, allocations: 1.408 MB / 1.364 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/2.696, allocations: 18.25 kB / 1.364 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/2.696, allocations: 55.19 kB / 1.364 GB, free: 149 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 5.33e-06/2.696, allocations: 0 / 1.364 GB, free: 149 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.01368/2.71, allocations: 4.755 MB / 1.369 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/2.71, allocations: 66.31 kB / 1.369 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/2.713, allocations: 1.249 MB / 1.37 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004378/2.713, allocations: 29.52 kB / 1.37 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/2.715, allocations: 2.096 MB / 1.372 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008495/2.716, allocations: 0.5364 MB / 1.373 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/2.716, allocations: 0 / 1.373 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001537/2.716, allocations: 396.1 kB / 1.373 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/2.718, allocations: 0.9527 MB / 1.374 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/2.721, allocations: 1.656 MB / 1.375 GB, free: 142 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002869/2.724, allocations: 1.244 MB / 1.377 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/2.724, allocations: 11.56 kB / 1.377 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.009295/2.733, allocations: 3.496 MB / 1.38 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/2.733, allocations: 13.91 kB / 1.38 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.724e-05/2.733, allocations: 24.47 kB / 1.38 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003855/2.737, allocations: 0.8954 MB / 1.381 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/2.74, allocations: 407.1 kB / 1.381 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/2.762, allocations: 20.19 MB / 1.401 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/2.765, allocations: 77.69 kB / 1.401 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004872/2.766, allocations: 96.78 kB / 1.401 GB, free: 122.7 MB / 0.8542 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 () * 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.0005952/2.767, allocations: 181.2 kB / 1.401 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007633/2.774, allocations: 2.912 MB / 1.404 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/2.775, allocations: 237.9 kB / 1.405 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007967/2.783, allocations: 3.055 MB / 1.408 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/2.783, allocations: 16.16 kB / 1.408 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/2.783, allocations: 10.62 kB / 1.408 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.223e-05/2.783, allocations: 7.359 kB / 1.408 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/2.802, allocations: 6.574 MB / 1.414 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/2.802, allocations: 7.844 kB / 1.414 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/2.804, allocations: 222.7 kB / 1.414 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003857/2.808, allocations: 0.8601 MB / 1.415 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003737/2.808, allocations: 4 kB / 1.415 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02205/2.83, allocations: 20.16 MB / 1.435 GB, free: 96.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/2.831, allocations: 7.938 kB / 1.435 GB, free: 96.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009239/2.84, allocations: 3.498 MB / 1.438 GB, free: 93.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002922/2.843, allocations: 0.5024 MB / 1.439 GB, free: 92.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/2.844, allocations: 16.62 kB / 1.439 GB, free: 92.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/2.847, allocations: 66.66 kB / 1.439 GB, free: 92.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009025/2.848, allocations: 136.4 kB / 1.439 GB, free: 92.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000256/2.849, allocations: 50.86 kB / 1.439 GB, free: 92.56 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002764/2.852, allocations: 0.9044 MB / 1.44 GB, free: 91.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.133e-06/2.852, allocations: 0 / 1.44 GB, free: 91.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007423/2.859, allocations: 0.8476 MB / 1.441 GB, free: 90.88 MB / 0.8542 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 () * 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.01257/2.872, allocations: 5.212 MB / 1.446 GB, free: 85.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01212/2.884, allocations: 4.076 MB / 1.45 GB, free: 82.06 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/2.884, allocations: 8.062 kB / 1.45 GB, free: 82.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008334/2.892, allocations: 2.83 MB / 1.452 GB, free: 79.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007294/2.9, allocations: 0.6473 MB / 1.453 GB, free: 78.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03044/2.93, allocations: 7.036 MB / 1.46 GB, free: 72.67 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009963/2.94, allocations: 3.289 MB / 1.463 GB, free: 69.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004623/2.945, allocations: 0.5021 MB / 1.464 GB, free: 69.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005077/2.95, allocations: 1.659 MB / 1.465 GB, free: 67.85 MB / 0.8542 GB Notification: Performance of SimCode: time 3.116e-06/2.95, allocations: 0 / 1.465 GB, free: 67.85 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1926/3.143, allocations: 63.15 MB / 1.527 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003601/3.143, allocations: 162.4 kB / 1.527 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.709/7.852, allocations: 0 / 1.527 GB, free: 5.352 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)