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.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 187.2 kB / 316.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008011/0.0008011, allocations: 85.97 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.119e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1818, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7395/0.9213, allocations: 203.5 MB / 1.084 GB, free: 1.211 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.9217, allocations: 106 kB / 1.084 GB, free: 1.152 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.219/1.141, allocations: 84.83 MB / 1.167 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.853e-06/1.141, allocations: 0 / 1.167 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001828/1.141, allocations: 47.92 kB / 1.167 GB, free: 4.789 MB / 0.7761 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.00487/1.146, allocations: 1.626 MB / 1.169 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/1.146, allocations: 12.03 kB / 1.169 GB, free: 3.102 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/1.158, allocations: 1.96 MB / 1.171 GB, free: 1.137 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00632/1.164, allocations: 2.063 MB / 1.173 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-05/1.165, allocations: 40 kB / 1.173 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006801/1.165, allocations: 71.91 kB / 1.173 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003621/1.169, allocations: 1.645 MB / 1.174 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/1.173, allocations: 2.057 MB / 1.176 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/1.173, allocations: 7.938 kB / 1.176 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/1.174, allocations: 7.953 kB / 1.176 GB, free: 11 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/1.174, allocations: 90.22 kB / 1.176 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01703/1.191, allocations: 10.44 MB / 1.187 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/1.193, allocations: 1.471 MB / 1.188 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/1.195, allocations: 0.8705 MB / 1.189 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.554e-05/1.195, allocations: 20.69 kB / 1.189 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/1.195, allocations: 55.27 kB / 1.189 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.606e-06/1.195, allocations: 0 / 1.189 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.01852/1.213, allocations: 6.907 MB / 1.196 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.213, allocations: 226.9 kB / 1.196 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/1.215, allocations: 0.8053 MB / 1.197 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.000302/1.215, allocations: 29.7 kB / 1.197 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006006/1.216, allocations: 0.7464 MB / 1.197 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006332/1.217, allocations: 0.4887 MB / 1.198 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/1.217, allocations: 0 / 1.198 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.217, allocations: 369.9 kB / 1.198 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/1.219, allocations: 1.097 MB / 1.199 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/1.22, allocations: 1.368 MB / 1.201 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/1.223, allocations: 1.264 MB / 1.202 GB, free: 15.92 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.223, allocations: 4 kB / 1.202 GB, free: 15.92 MB / 0.823 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01076/1.233, allocations: 4.435 MB / 1.206 GB, free: 11.45 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/1.233, allocations: 8 kB / 1.206 GB, free: 11.44 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/1.233, allocations: 12.06 kB / 1.206 GB, free: 11.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008495/1.242, allocations: 2.083 MB / 1.208 GB, free: 9.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/1.244, allocations: 415.3 kB / 1.209 GB, free: 8.914 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03475/1.279, allocations: 21.74 MB / 1.23 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/1.283, allocations: 291.5 kB / 1.23 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005236/1.284, allocations: 67.97 kB / 1.23 GB, free: 1.902 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005542/1.284, allocations: 124.7 kB / 1.23 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01071/1.295, allocations: 4.232 MB / 1.235 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007087/1.296, allocations: 162.1 kB / 1.235 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.307, allocations: 4.519 MB / 1.239 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/1.307, allocations: 16 kB / 1.239 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.296e-05/1.307, allocations: 16 kB / 1.239 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/1.307, allocations: 7.969 kB / 1.239 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/1.322, allocations: 6.568 MB / 1.246 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/1.322, allocations: 4 kB / 1.246 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.324, allocations: 367.7 kB / 1.246 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007971/1.332, allocations: 1.948 MB / 1.248 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002831/1.332, allocations: 19.97 kB / 1.248 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5757/1.908, allocations: 20.89 MB / 1.268 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/1.908, allocations: 2.625 kB / 1.268 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.92, allocations: 4.307 MB / 1.272 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/1.921, allocations: 498.8 kB / 1.273 GB, free: 257 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/1.922, allocations: 4.703 kB / 1.273 GB, free: 257 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/1.924, allocations: 310 kB / 1.273 GB, free: 257 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006836/1.925, allocations: 150.4 kB / 1.273 GB, free: 257 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/1.925, allocations: 60.22 kB / 1.273 GB, free: 257 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001101/1.926, allocations: 0.6073 MB / 1.274 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.9e-07/1.926, allocations: 0 / 1.274 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003305/1.929, allocations: 0.6236 MB / 1.275 GB, free: 256.9 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01119/1.94, allocations: 5.673 MB / 1.28 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007671/1.948, allocations: 4.174 MB / 1.284 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.948, allocations: 2.219 kB / 1.284 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005536/1.954, allocations: 2.815 MB / 1.287 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/1.957, allocations: 440.6 kB / 1.287 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009898/1.967, allocations: 3.433 MB / 1.291 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/1.968, allocations: 1.605 MB / 1.292 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00213/1.971, allocations: 388.2 kB / 1.293 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009428/1.971, allocations: 0.662 MB / 1.293 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/1.972, allocations: 0 / 1.293 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/2.075, allocations: 54.34 MB / 1.346 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/2.076, allocations: 172.6 kB / 1.347 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.492/5.567, allocations: 6.516 kB / 1.347 GB, free: 246.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)