Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 108.5 kB / 17.03 MB, free: 5.656 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.001161/0.001162, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7165/0.7165, allocations: 115.1 MB / 406.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3472, allocations: 76.14 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0365/0.3837, allocations: 37.25 MB / 0.5939 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.4036, allocations: 13.55 MB / 0.6072 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003741/0.4074, allocations: 114.6 kB / 0.6073 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00562/0.4131, allocations: 2.282 MB / 0.6095 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.4173, allocations: 1.409 MB / 0.6109 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008881/0.4262, allocations: 3.514 MB / 0.6143 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007305/0.4335, allocations: 6.384 MB / 0.6206 GB, free: 3.957 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01078/0.4444, allocations: 9.885 MB / 0.6302 GB, free: 9.988 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003824/0.4482, allocations: 2.731 MB / 0.6329 GB, free: 7.25 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004412/0.4526, allocations: 3.198 MB / 0.636 GB, free: 4.043 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.4537, allocations: 0.6211 MB / 0.6366 GB, free: 3.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.4559, allocations: 1.221 MB / 0.6378 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002379/0.4583, allocations: 2.476 MB / 0.6402 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003334/0.4617, allocations: 2.541 MB / 0.6427 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008773/0.4705, allocations: 9.145 MB / 0.6516 GB, free: 4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.4705, allocations: 4 kB / 0.6516 GB, free: 3.996 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4705, allocations: 3.938 kB / 0.6516 GB, free: 3.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002826/0.4708, allocations: 0 / 0.6516 GB, free: 3.992 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.009831/0.4807, allocations: 4.307 MB / 0.6558 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4807, allocations: 12.03 kB / 0.6558 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/0.4847, allocations: 0.9442 MB / 0.6568 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005571/0.4903, allocations: 2.222 MB / 0.6589 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.4906, allocations: 329 kB / 0.6593 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.4917, allocations: 432.2 kB / 0.6597 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.5055, allocations: 7.358 MB / 0.6669 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.5056, allocations: 15.88 kB / 0.6669 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005419/0.5061, allocations: 180 kB / 0.667 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003218/0.5065, allocations: 294.9 kB / 0.6673 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009827/0.5163, allocations: 5.959 MB / 0.6731 GB, free: 13.6 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03697/0.5533, allocations: 32.37 MB / 0.7047 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.5566, allocations: 2.118 MB / 0.7068 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.5581, allocations: 1.235 MB / 0.708 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.5583, allocations: 106.1 kB / 0.7081 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.5583, allocations: 47.56 kB / 0.7082 GB, free: 6.801 MB / 0.545 GB Notification: Performance of pre-optimization done (n=98): time 2.835e-06/0.5583, allocations: 0 / 0.7082 GB, free: 6.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=101): time 0.007037/0.5654, allocations: 5.223 MB / 0.7133 GB, free: 1.531 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.5655, allocations: 150 kB / 0.7134 GB, free: 1.355 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.5673, allocations: 1.46 MB / 0.7148 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.5674, allocations: 41.7 kB / 0.7149 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.5685, allocations: 1.863 MB / 0.7167 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.5688, allocations: 371 kB / 0.7171 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006705/0.5695, allocations: 459 kB / 0.7175 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5696, allocations: 301.1 kB / 0.7178 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.5711, allocations: 1.114 MB / 0.7189 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.5734, allocations: 2.192 MB / 0.721 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00397/0.5774, allocations: 3.399 MB / 0.7243 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.5774, allocations: 12 kB / 0.7243 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004884/0.5823, allocations: 3.312 MB / 0.7276 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.5824, allocations: 20 kB / 0.7276 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.674e-05/0.5824, allocations: 32 kB / 0.7276 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.476e-05/0.5825, allocations: 48 kB / 0.7277 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.5846, allocations: 0.6204 MB / 0.7283 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.235e-05/0.5847, allocations: 71.72 kB / 0.7283 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.5865, allocations: 318.7 kB / 0.7286 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.5867, allocations: 112 kB / 0.7288 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003368/0.59, allocations: 2.405 MB / 0.7311 GB, free: 14.15 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002/0.5921, allocations: 2.015 MB / 0.7331 GB, free: 11.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003379/0.5955, allocations: 3.025 MB / 0.736 GB, free: 8.086 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.597e-05/0.5955, allocations: 11.94 kB / 0.736 GB, free: 8.074 MB / 0.5763 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004678/0.6002, allocations: 2.925 MB / 0.7389 GB, free: 5.141 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.6002, allocations: 22.03 kB / 0.7389 GB, free: 5.121 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.6003, allocations: 36.88 kB / 0.7389 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-05/0.6003, allocations: 48.14 kB / 0.739 GB, free: 5.039 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.6021, allocations: 0.5576 MB / 0.7395 GB, free: 4.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.564e-05/0.6021, allocations: 71.72 kB / 0.7396 GB, free: 4.41 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.6038, allocations: 243 kB / 0.7398 GB, free: 4.172 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.604, allocations: 120 kB / 0.74 GB, free: 4.055 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005/0.6045, allocations: 335.3 kB / 0.7403 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.6048, allocations: 158.1 kB / 0.7404 GB, free: 3.562 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/0.6082, allocations: 2.231 MB / 0.7426 GB, free: 1.32 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.6082, allocations: 15.88 kB / 0.7426 GB, free: 1.305 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.6082, allocations: 4 kB / 0.7426 GB, free: 1.301 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.6082, allocations: 3.984 kB / 0.7426 GB, free: 1.297 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2593/0.8675, allocations: 10.97 MB / 0.7533 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/0.8676, allocations: 13.47 kB / 0.7533 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.8692, allocations: 384.2 kB / 0.7537 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.282e-05/0.8692, allocations: 16.09 kB / 0.7537 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.8694, allocations: 31.34 kB / 0.7538 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-05/0.8694, allocations: 28.41 kB / 0.7538 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.8694, allocations: 15.47 kB / 0.7538 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/0.8728, allocations: 2.759 MB / 0.7565 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.874, allocations: 453.1 kB / 0.7569 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.8743, allocations: 33.64 kB / 0.757 GB, free: 152.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.8754, allocations: 165.1 kB / 0.7571 GB, free: 152.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.8756, allocations: 103.4 kB / 0.7572 GB, free: 152.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.24e-05/0.8757, allocations: 36.28 kB / 0.7572 GB, free: 152.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001465/0.8772, allocations: 0.9734 MB / 0.7582 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8772, allocations: 0.7812 kB / 0.7582 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004181/0.8814, allocations: 1.125 MB / 0.7593 GB, free: 151.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003084/0.8817, allocations: 150.7 kB / 0.7594 GB, free: 151.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.005991/0.8877, allocations: 4.011 MB / 0.7634 GB, free: 150.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.082e-05/0.8878, allocations: 5.859 kB / 0.7634 GB, free: 150.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.8895, allocations: 1.059 MB / 0.7644 GB, free: 150 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/0.8926, allocations: 450.4 kB / 0.7648 GB, free: 149.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.905, allocations: 6.992 MB / 0.7717 GB, free: 146.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/0.9079, allocations: 2.87 MB / 0.7745 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.002678/0.9106, allocations: 1.207 MB / 0.7756 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/0.9111, allocations: 116.6 kB / 0.7758 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of SimCode: time 9.92e-07/0.9111, allocations: 0 / 0.7758 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.03332/0.9444, allocations: 24.51 MB / 0.7997 GB, free: 126.6 MB / 0.5763 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)