Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.925/1.925, allocations: 289.9 MB / 297.4 MB, free: 6.305 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.001153/0.001153, allocations: 180.9 kB / 366.7 MB, free: 1.562 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.609/1.609, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008065/0.0008064, allocations: 83.41 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.774e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.6915, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/0.9394, allocations: 171.1 MB / 1.14 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.9398, allocations: 93.67 kB / 1.141 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.102/2.042, allocations: 180.8 MB / 1.317 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.954e-06/2.042, allocations: 0 / 1.317 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003332/2.043, allocations: 130.8 kB / 1.317 GB, free: 185.5 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.01363/2.056, allocations: 4.149 MB / 1.321 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/2.056, allocations: 11.78 kB / 1.321 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007398/2.064, allocations: 1.017 MB / 1.322 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009438/2.073, allocations: 3.209 MB / 1.325 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/2.074, allocations: 154.7 kB / 1.326 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002307/2.076, allocations: 283.8 kB / 1.326 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01274/2.089, allocations: 4.716 MB / 1.33 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/2.11, allocations: 6.7 MB / 1.337 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002718/2.11, allocations: 19.16 kB / 1.337 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002182/2.113, allocations: 14.62 kB / 1.337 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003612/2.113, allocations: 269.5 kB / 1.337 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04191/2.155, allocations: 35.21 MB / 1.372 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/2.158, allocations: 2.041 MB / 1.374 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/2.16, allocations: 1.419 MB / 1.375 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/2.16, allocations: 18.69 kB / 1.375 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/2.16, allocations: 51.22 kB / 1.375 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 4.568e-06/2.16, allocations: 0 / 1.375 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.009689/2.17, allocations: 4.767 MB / 1.38 GB, free: 146 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/2.17, allocations: 67.19 kB / 1.38 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/2.173, allocations: 1.242 MB / 1.381 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/2.173, allocations: 32.05 kB / 1.381 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/2.174, allocations: 2.099 MB / 1.383 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/2.174, allocations: 0.532 MB / 1.384 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/2.175, allocations: 0 / 1.384 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001536/2.175, allocations: 394.9 kB / 1.384 GB, free: 143 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/2.176, allocations: 0.9491 MB / 1.385 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/2.178, allocations: 1.661 MB / 1.387 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/2.179, allocations: 1.238 MB / 1.388 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/2.179, allocations: 13.97 kB / 1.388 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00578/2.185, allocations: 3.489 MB / 1.391 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/2.185, allocations: 15.16 kB / 1.391 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/2.185, allocations: 21.16 kB / 1.391 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/2.187, allocations: 0.888 MB / 1.392 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/2.189, allocations: 414 kB / 1.392 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/2.203, allocations: 20.18 MB / 1.412 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/2.206, allocations: 79.97 kB / 1.412 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004313/2.206, allocations: 97.03 kB / 1.412 GB, free: 121.9 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.0006668/2.207, allocations: 177.8 kB / 1.412 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004927/2.212, allocations: 2.914 MB / 1.415 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/2.212, allocations: 233.3 kB / 1.416 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0049/2.217, allocations: 3.059 MB / 1.419 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/2.217, allocations: 16 kB / 1.419 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.1e-05/2.217, allocations: 17.23 kB / 1.419 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/2.217, allocations: 5.953 kB / 1.419 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/2.231, allocations: 6.579 MB / 1.425 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/2.231, allocations: 4 kB / 1.425 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000911/2.232, allocations: 219.7 kB / 1.425 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/2.234, allocations: 0.8636 MB / 1.426 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/2.234, allocations: 4 kB / 1.426 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/2.248, allocations: 20.16 MB / 1.446 GB, free: 88.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/2.248, allocations: 7.938 kB / 1.446 GB, free: 88.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005544/2.254, allocations: 3.507 MB / 1.449 GB, free: 84.42 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/2.255, allocations: 0.5021 MB / 1.45 GB, free: 83.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007501/2.256, allocations: 8 kB / 1.45 GB, free: 83.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/2.258, allocations: 63.89 kB / 1.45 GB, free: 83.83 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/2.258, allocations: 143.8 kB / 1.45 GB, free: 83.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/2.259, allocations: 52 kB / 1.45 GB, free: 83.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001739/2.26, allocations: 0.91 MB / 1.451 GB, free: 82.71 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.21e-07/2.26, allocations: 0 / 1.451 GB, free: 82.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004373/2.265, allocations: 0.8438 MB / 1.452 GB, free: 81.87 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.005435/2.27, allocations: 5.21 MB / 1.457 GB, free: 76.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005701/2.276, allocations: 4.079 MB / 1.461 GB, free: 72.28 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/2.276, allocations: 4.188 kB / 1.461 GB, free: 72.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003701/2.28, allocations: 2.824 MB / 1.463 GB, free: 69.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004035/2.284, allocations: 0.6454 MB / 1.464 GB, free: 68.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/2.302, allocations: 7.05 MB / 1.471 GB, free: 61.54 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004869/2.307, allocations: 3.29 MB / 1.474 GB, free: 58.22 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002309/2.309, allocations: 0.4928 MB / 1.475 GB, free: 57.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/2.312, allocations: 1.655 MB / 1.476 GB, free: 56.09 MB / 0.8542 GB Notification: Performance of SimCode: time 1.433e-06/2.312, allocations: 0 / 1.476 GB, free: 56.09 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/2.421, allocations: 63.17 MB / 1.538 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/2.422, allocations: 161.9 kB / 1.538 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.522/5.944, allocations: 3.938 kB / 1.538 GB, free: 9.441 MB / 0.8698 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)