Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 104.2 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 193.9 kB / 17.57 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.757/0.757, allocations: 122.9 MB / 414.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.89 kB / 0.4912 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3578, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01134/0.3692, allocations: 11.02 MB / 0.5781 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008495/0.3777, allocations: 5.765 MB / 0.5837 GB, free: 21.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.3793, allocations: 47.22 kB / 0.5838 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003889/0.3832, allocations: 1.624 MB / 0.5854 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003937/0.3872, allocations: 1.059 MB / 0.5864 GB, free: 19.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.3897, allocations: 0.7438 MB / 0.5871 GB, free: 18.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002859/0.3926, allocations: 2.126 MB / 0.5892 GB, free: 17.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.3945, allocations: 1.495 MB / 0.5907 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.396, allocations: 0.8483 MB / 0.5915 GB, free: 16.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.3971, allocations: 0.947 MB / 0.5924 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.3973, allocations: 117.6 kB / 0.5925 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.3997, allocations: 1.178 MB / 0.5937 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005265/0.4003, allocations: 0.5269 MB / 0.5942 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008232/0.4011, allocations: 0.785 MB / 0.595 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.4035, allocations: 1.884 MB / 0.5968 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4035, allocations: 0 / 0.5968 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4035, allocations: 0 / 0.5968 GB, free: 12.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.4035, allocations: 3.938 kB / 0.5968 GB, free: 12.79 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002467/0.406, allocations: 1.864 MB / 0.5986 GB, free: 10.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4061, allocations: 12.62 kB / 0.5986 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004542/0.4106, allocations: 0.6737 MB / 0.5993 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.412, allocations: 0.9068 MB / 0.6002 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.412, allocations: 98.89 kB / 0.6003 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.4122, allocations: 124.3 kB / 0.6004 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.4147, allocations: 2.206 MB / 0.6025 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/0.4147, allocations: 15.81 kB / 0.6026 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.4149, allocations: 67.91 kB / 0.6026 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/0.415, allocations: 162.3 kB / 0.6028 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.4172, allocations: 1.867 MB / 0.6046 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.4279, allocations: 12.47 MB / 0.6168 GB, free: 7.039 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/0.4322, allocations: 1.97 MB / 0.6187 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008236/0.433, allocations: 0.6089 MB / 0.6193 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.4332, allocations: 102 kB / 0.6194 GB, free: 4.328 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.4333, allocations: 47.55 kB / 0.6194 GB, free: 4.273 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 2.795e-06/0.4333, allocations: 0 / 0.6194 GB, free: 4.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.006279/0.4396, allocations: 3.706 MB / 0.6231 GB, free: 416 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.4396, allocations: 60.41 kB / 0.6231 GB, free: 344 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.441, allocations: 0.9321 MB / 0.624 GB, free: 15.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/0.4411, allocations: 41.7 kB / 0.6241 GB, free: 15.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/0.4416, allocations: 0.7314 MB / 0.6248 GB, free: 14.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.442, allocations: 382.6 kB / 0.6252 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/0.4424, allocations: 283.2 kB / 0.6254 GB, free: 13.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4425, allocations: 305.1 kB / 0.6257 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009361/0.4435, allocations: 0.6129 MB / 0.6263 GB, free: 13.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.4448, allocations: 1.106 MB / 0.6274 GB, free: 11.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.4472, allocations: 1.824 MB / 0.6292 GB, free: 9.656 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.4472, allocations: 8 kB / 0.6292 GB, free: 9.648 MB / 478.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.0036/0.4508, allocations: 2.108 MB / 0.6312 GB, free: 7.504 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.4509, allocations: 12 kB / 0.6312 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.4509, allocations: 12 kB / 0.6313 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008433/0.4518, allocations: 271 kB / 0.6315 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.453, allocations: 371.4 kB / 0.6319 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008657/0.4617, allocations: 11.59 MB / 0.6432 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.4631, allocations: 123.8 kB / 0.6433 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.4634, allocations: 80.05 kB / 0.6434 GB, free: 9.922 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008592/0.4642, allocations: 401.2 kB / 0.6438 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/0.4646, allocations: 138.4 kB / 0.6439 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.4675, allocations: 1.677 MB / 0.6455 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.4675, allocations: 16 kB / 0.6455 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.4675, allocations: 0 / 0.6455 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.4675, allocations: 7.984 kB / 0.6456 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005324/0.4729, allocations: 3.287 MB / 0.6488 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.4729, allocations: 8 kB / 0.6488 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008528/0.4738, allocations: 220.3 kB / 0.649 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007202/0.4745, allocations: 246.6 kB / 0.6492 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.253e-05/0.4746, allocations: 31.92 kB / 0.6492 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008456/0.4831, allocations: 11.58 MB / 0.6606 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.4831, allocations: 7.938 kB / 0.6606 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.486, allocations: 1.799 MB / 0.6623 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/0.4866, allocations: 315.3 kB / 0.6626 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.4869, allocations: 28 kB / 0.6626 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/0.4877, allocations: 83.88 kB / 0.6627 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.4879, allocations: 108.6 kB / 0.6628 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.875e-05/0.488, allocations: 32 kB / 0.6629 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000801/0.4888, allocations: 0.6216 MB / 0.6635 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4888, allocations: 0 / 0.6635 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001551/0.4904, allocations: 392 kB / 0.6638 GB, free: 3.496 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002599/0.4907, allocations: 143 kB / 0.664 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004368/0.495, allocations: 2.875 MB / 0.6668 GB, free: 380 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.4951, allocations: 0 / 0.6668 GB, free: 380 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.4972, allocations: 1.626 MB / 0.6684 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.4991, allocations: 356.1 kB / 0.6687 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.5044, allocations: 3.48 MB / 0.6721 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.5055, allocations: 1.327 MB / 0.6734 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/0.506, allocations: 115.4 kB / 0.6735 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.506, allocations: 4 kB / 0.6735 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of Templates: time 0.05929/0.5653, allocations: 59.16 MB / 0.7313 GB, free: 14.09 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)