Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 184.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008869/0.0008872, allocations: 89.98 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 13.2 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2763, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8555/1.132, allocations: 200.8 MB / 1.096 GB, free: 52.56 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/1.132, allocations: 102.2 kB / 1.096 GB, free: 52.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1866/1.319, allocations: 84.73 MB / 1.179 GB, free: 22.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/1.319, allocations: 0 / 1.179 GB, free: 22.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.848e-05/1.319, allocations: 47.77 kB / 1.179 GB, free: 22.79 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003586/1.323, allocations: 1.805 MB / 1.181 GB, free: 21.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.323, allocations: 12.03 kB / 1.181 GB, free: 21.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003764/1.323, allocations: 198.6 kB / 1.181 GB, free: 20.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/1.333, allocations: 1.881 MB / 1.183 GB, free: 19.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/1.337, allocations: 1.23 MB / 1.184 GB, free: 18.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.287e-05/1.337, allocations: 86.77 kB / 1.184 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/1.337, allocations: 123.3 kB / 1.184 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005496/1.343, allocations: 2.73 MB / 1.187 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/1.343, allocations: 11.48 kB / 1.187 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/1.343, allocations: 59.38 kB / 1.187 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.583e-05/1.343, allocations: 81.25 kB / 1.187 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006631/1.35, allocations: 2.854 MB / 1.19 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/1.364, allocations: 10.72 MB / 1.2 GB, free: 3.797 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005731/1.37, allocations: 2.591 MB / 1.203 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/1.37, allocations: 9 kB / 1.203 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/1.37, allocations: 43.31 kB / 1.203 GB, free: 1.582 MB / 0.698 GB Notification: Performance of pre-optimization done (n=89): time 3.146e-06/1.37, allocations: 4 kB / 1.203 GB, free: 1.578 MB / 0.698 GB Notification: Performance of matching and sorting (n=131): time 0.04967/1.42, allocations: 14.01 MB / 1.217 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/1.42, allocations: 222.9 kB / 1.217 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/1.422, allocations: 0.9696 MB / 1.218 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003128/1.422, allocations: 49.7 kB / 1.218 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/1.423, allocations: 0.7041 MB / 1.219 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005009/1.423, allocations: 448.8 kB / 1.219 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/1.424, allocations: 28 kB / 1.219 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.424, allocations: 357.9 kB / 1.219 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003309/1.427, allocations: 1.369 MB / 1.221 GB, free: 452 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/1.431, allocations: 1.63 MB / 1.222 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/1.434, allocations: 1.466 MB / 1.224 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/1.434, allocations: 4 kB / 1.224 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01436/1.449, allocations: 4.555 MB / 1.228 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/1.449, allocations: 8 kB / 1.228 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.449, allocations: 4.75 kB / 1.228 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007343/1.456, allocations: 1.622 MB / 1.23 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/1.459, allocations: 447.2 kB / 1.23 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.029/1.488, allocations: 25.33 MB / 1.255 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/1.491, allocations: 319.5 kB / 1.255 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004368/1.491, allocations: 59.97 kB / 1.255 GB, free: 11.09 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001481/1.493, allocations: 433.5 kB / 1.256 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000599/1.493, allocations: 166.1 kB / 1.256 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.506, allocations: 4.59 MB / 1.26 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/1.506, allocations: 12 kB / 1.26 GB, free: 5.832 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.653e-05/1.507, allocations: 15.95 kB / 1.26 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/1.507, allocations: 7.969 kB / 1.26 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/1.525, allocations: 7.015 MB / 1.267 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/1.525, allocations: 4 kB / 1.267 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/1.527, allocations: 391.6 kB / 1.268 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006566/1.534, allocations: 1.518 MB / 1.269 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003118/1.534, allocations: 39.97 kB / 1.269 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02805/1.562, allocations: 24.35 MB / 1.293 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.562, allocations: 4.406 kB / 1.293 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.575, allocations: 4.522 MB / 1.297 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.577, allocations: 467 kB / 1.298 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006077/1.578, allocations: 37.03 kB / 1.298 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/1.58, allocations: 315.5 kB / 1.298 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005347/1.581, allocations: 136.7 kB / 1.298 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.581, allocations: 47.97 kB / 1.298 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001624/1.583, allocations: 0.7487 MB / 1.299 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.01e-07/1.583, allocations: 0 / 1.299 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003512/1.586, allocations: 0.6092 MB / 1.3 GB, free: 11.52 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0135/1.6, allocations: 5.853 MB / 1.305 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.612, allocations: 5.173 MB / 1.31 GB, free: 184 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/1.612, allocations: 4 kB / 1.31 GB, free: 180 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.007832/1.62, allocations: 3.565 MB / 1.314 GB, free: 12.45 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/1.623, allocations: 498.7 kB / 1.314 GB, free: 11.96 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03768/1.661, allocations: 18.45 MB / 1.332 GB, free: 9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/1.662, allocations: 1.505 MB / 1.334 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002237/1.665, allocations: 421.4 kB / 1.334 GB, free: 7.047 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.666, allocations: 0.6281 MB / 1.335 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of SimCode: time 6.12e-07/1.666, allocations: 0 / 1.335 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.766, allocations: 51.32 MB / 1.385 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.766, allocations: 222.1 kB / 1.385 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.637/5.403, allocations: 0 / 1.385 GB, free: 3.379 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)