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.001771/0.001771, allocations: 103 kB / 15.98 MB, free: 6.332 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.002405/0.002405, allocations: 195.6 kB / 16.91 MB, free: 6.18 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.401/1.401, allocations: 222.9 MB / 240.6 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.796/0.796, allocations: 122.9 MB / 413.6 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002244, allocations: 64.09 kB / 0.4906 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3879, allocations: 77.91 MB / 0.5667 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01471/0.4027, allocations: 11.03 MB / 0.5775 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009584/0.4123, allocations: 5.76 MB / 0.5831 GB, free: 21.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.4139, allocations: 45.81 kB / 0.5831 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004238/0.4182, allocations: 1.626 MB / 0.5847 GB, free: 20.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.4216, allocations: 1.054 MB / 0.5858 GB, free: 19.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.4243, allocations: 0.7386 MB / 0.5865 GB, free: 18.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.427, allocations: 2.13 MB / 0.5886 GB, free: 17.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.4294, allocations: 1.496 MB / 0.59 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.4308, allocations: 0.8568 MB / 0.5909 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.4324, allocations: 0.9429 MB / 0.5918 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004009/0.4328, allocations: 113.4 kB / 0.5919 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.4354, allocations: 1.177 MB / 0.593 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006584/0.4361, allocations: 0.5322 MB / 0.5936 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.4373, allocations: 0.788 MB / 0.5943 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003392/0.4407, allocations: 2.495 MB / 0.5968 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4407, allocations: 0 / 0.5968 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4407, allocations: 3.984 kB / 0.5968 GB, free: 12.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.677e-05/0.4408, allocations: 0 / 0.5968 GB, free: 12.19 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.003003/0.4438, allocations: 1.852 MB / 0.5986 GB, free: 10.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4439, allocations: 12.62 kB / 0.5986 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004303/0.4482, allocations: 0.6736 MB / 0.5992 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.4494, allocations: 0.9146 MB / 0.6001 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.4494, allocations: 98.83 kB / 0.6002 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.4496, allocations: 128.3 kB / 0.6004 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.4519, allocations: 2.203 MB / 0.6025 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.452, allocations: 15.88 kB / 0.6025 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.4521, allocations: 59.97 kB / 0.6026 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.4523, allocations: 162.3 kB / 0.6027 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.4545, allocations: 1.867 MB / 0.6046 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009992/0.4645, allocations: 12.48 MB / 0.6167 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004229/0.4688, allocations: 1.972 MB / 0.6187 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.4696, allocations: 0.6011 MB / 0.6192 GB, free: 3.859 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.4697, allocations: 106.1 kB / 0.6193 GB, free: 3.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.4698, allocations: 43.56 kB / 0.6194 GB, free: 3.688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 2.775e-06/0.4698, allocations: 0 / 0.6194 GB, free: 3.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.005821/0.4756, allocations: 3.706 MB / 0.623 GB, free: 15.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.4757, allocations: 68.39 kB / 0.6231 GB, free: 15.74 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009673/0.4766, allocations: 0.9242 MB / 0.624 GB, free: 14.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.4767, allocations: 41.7 kB / 0.624 GB, free: 14.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.4772, allocations: 0.7315 MB / 0.6247 GB, free: 14.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.4774, allocations: 378.6 kB / 0.6251 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003799/0.4778, allocations: 287.2 kB / 0.6254 GB, free: 13.35 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.4779, allocations: 305.1 kB / 0.6257 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000886/0.4788, allocations: 0.6129 MB / 0.6263 GB, free: 12.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.48, allocations: 1.109 MB / 0.6273 GB, free: 11.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.4821, allocations: 1.828 MB / 0.6291 GB, free: 9.062 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.4822, allocations: 4 kB / 0.6291 GB, free: 9.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003255/0.4854, allocations: 2.096 MB / 0.6312 GB, free: 6.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.4855, allocations: 12.19 kB / 0.6312 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.4855, allocations: 27.88 kB / 0.6312 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00081/0.4863, allocations: 254.7 kB / 0.6315 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.4876, allocations: 375.4 kB / 0.6318 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008731/0.4964, allocations: 11.59 MB / 0.6431 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.4977, allocations: 123.8 kB / 0.6433 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4978, allocations: 75.92 kB / 0.6433 GB, free: 9.336 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.0006285/0.4984, allocations: 418.3 kB / 0.6437 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.4986, allocations: 130.4 kB / 0.6438 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.5014, allocations: 1.677 MB / 0.6455 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.5014, allocations: 8 kB / 0.6455 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-06/0.5014, allocations: 4 kB / 0.6455 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.5014, allocations: 3.984 kB / 0.6455 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/0.5065, allocations: 3.295 MB / 0.6487 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.5065, allocations: 4 kB / 0.6487 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/0.5074, allocations: 223.6 kB / 0.6489 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006883/0.5081, allocations: 247 kB / 0.6492 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/0.5081, allocations: 27.94 kB / 0.6492 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008/0.5161, allocations: 11.57 MB / 0.6605 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.5162, allocations: 11.94 kB / 0.6605 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.5188, allocations: 1.796 MB / 0.6623 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.5192, allocations: 315.3 kB / 0.6626 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.5194, allocations: 24 kB / 0.6626 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.5201, allocations: 91.86 kB / 0.6627 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.5203, allocations: 100.7 kB / 0.6628 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.5204, allocations: 36 kB / 0.6628 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007044/0.5211, allocations: 0.6138 MB / 0.6634 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5211, allocations: 4 kB / 0.6634 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001333/0.5224, allocations: 392 kB / 0.6638 GB, free: 2.914 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.0002254/0.5227, allocations: 145.3 kB / 0.6639 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004175/0.5269, allocations: 2.872 MB / 0.6667 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5269, allocations: 8.062 kB / 0.6667 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.5288, allocations: 1.629 MB / 0.6683 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.5305, allocations: 355.8 kB / 0.6687 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.5349, allocations: 3.385 MB / 0.672 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009585/0.5359, allocations: 1.323 MB / 0.6733 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001055/0.5369, allocations: 359.3 kB / 0.6736 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.5372, allocations: 95.42 kB / 0.6737 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.5372, allocations: 0 / 0.6737 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of Templates: time 0.03005/0.5673, allocations: 17.12 MB / 0.6904 GB, free: 7.492 MB / 0.5294 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)