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.0009975/0.0009975, allocations: 107.8 kB / 17.04 MB, free: 6.078 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.0009804/0.0009804, allocations: 196 kB / 17.98 MB, free: 5.16 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.291/1.291, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6791/0.6791, allocations: 115.1 MB / 407 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 71.83 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3541, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0355/0.3897, allocations: 37.24 MB / 0.5939 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01922/0.4089, allocations: 13.55 MB / 0.6072 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/0.413, allocations: 115.2 kB / 0.6073 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005412/0.4184, allocations: 2.281 MB / 0.6095 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004252/0.4227, allocations: 1.408 MB / 0.6109 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009487/0.4322, allocations: 3.508 MB / 0.6143 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008411/0.4406, allocations: 6.392 MB / 0.6206 GB, free: 3.926 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.4515, allocations: 9.876 MB / 0.6302 GB, free: 9.957 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.4557, allocations: 2.739 MB / 0.6329 GB, free: 7.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004433/0.4601, allocations: 3.202 MB / 0.636 GB, free: 4 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001492/0.4617, allocations: 0.6211 MB / 0.6366 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.4644, allocations: 1.229 MB / 0.6378 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002576/0.467, allocations: 2.468 MB / 0.6402 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003436/0.4704, allocations: 2.549 MB / 0.6427 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009066/0.4795, allocations: 9.139 MB / 0.6516 GB, free: 3.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4795, allocations: 0 / 0.6516 GB, free: 3.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4796, allocations: 4 kB / 0.6516 GB, free: 3.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000225/0.4798, allocations: 0 / 0.6516 GB, free: 3.949 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.009726/0.4895, allocations: 4.314 MB / 0.6559 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4896, allocations: 8.031 kB / 0.6559 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003946/0.4935, allocations: 0.9442 MB / 0.6568 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005431/0.499, allocations: 2.222 MB / 0.659 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.4993, allocations: 325 kB / 0.6593 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.5006, allocations: 428.2 kB / 0.6597 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.5146, allocations: 7.373 MB / 0.6669 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-05/0.5147, allocations: 7.938 kB / 0.6669 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004782/0.5152, allocations: 180 kB / 0.6671 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003033/0.5155, allocations: 290.9 kB / 0.6673 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009777/0.5253, allocations: 5.959 MB / 0.6731 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03706/0.5624, allocations: 32.36 MB / 0.7048 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.5655, allocations: 2.111 MB / 0.7068 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.5671, allocations: 1.247 MB / 0.708 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.5673, allocations: 102.1 kB / 0.7081 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.5673, allocations: 51.5 kB / 0.7082 GB, free: 6.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=98): time 3.156e-06/0.5673, allocations: 0 / 0.7082 GB, free: 6.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=101): time 0.00745/0.5748, allocations: 5.223 MB / 0.7133 GB, free: 1.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.5749, allocations: 149.4 kB / 0.7134 GB, free: 1.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.5767, allocations: 1.453 MB / 0.7148 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.5768, allocations: 45.7 kB / 0.7149 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009964/0.5778, allocations: 1.863 MB / 0.7167 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.5781, allocations: 371 kB / 0.7171 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006063/0.5787, allocations: 459 kB / 0.7175 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.5788, allocations: 305.1 kB / 0.7178 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.5803, allocations: 1.118 MB / 0.7189 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.5824, allocations: 2.188 MB / 0.721 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.5859, allocations: 3.399 MB / 0.7243 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.5859, allocations: 12 kB / 0.7243 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004669/0.5906, allocations: 3.312 MB / 0.7276 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.5907, allocations: 20 kB / 0.7276 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/0.5907, allocations: 36 kB / 0.7276 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.101e-05/0.5908, allocations: 44 kB / 0.7277 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.5928, allocations: 0.6277 MB / 0.7283 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.181e-05/0.5929, allocations: 63.78 kB / 0.7284 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.5946, allocations: 311 kB / 0.7286 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.5947, allocations: 116 kB / 0.7288 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003321/0.5981, allocations: 2.409 MB / 0.7311 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001952/0.6, allocations: 2.015 MB / 0.7331 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003265/0.6033, allocations: 3.029 MB / 0.736 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.726e-05/0.6033, allocations: 12 kB / 0.736 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004163/0.6075, allocations: 2.921 MB / 0.7389 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.6075, allocations: 20 kB / 0.7389 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/0.6076, allocations: 39.98 kB / 0.739 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/0.6076, allocations: 48 kB / 0.739 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.6093, allocations: 0.5544 MB / 0.7395 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.444e-05/0.6094, allocations: 79.59 kB / 0.7396 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.611, allocations: 243 kB / 0.7399 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.6111, allocations: 112 kB / 0.74 GB, free: 4.012 MB / 0.5762 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.000506/0.6116, allocations: 339.3 kB / 0.7403 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.6119, allocations: 154.1 kB / 0.7404 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.615, allocations: 2.223 MB / 0.7426 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.615, allocations: 15.94 kB / 0.7426 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.615, allocations: 0 / 0.7426 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.615, allocations: 7.984 kB / 0.7426 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.278/0.893, allocations: 10.96 MB / 0.7533 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.8931, allocations: 13.88 kB / 0.7533 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/0.8946, allocations: 387.7 kB / 0.7537 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.593e-05/0.8946, allocations: 17.66 kB / 0.7537 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.8948, allocations: 30.64 kB / 0.7538 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.06e-05/0.8948, allocations: 22.84 kB / 0.7538 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.8948, allocations: 18.31 kB / 0.7538 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.8979, allocations: 2.757 MB / 0.7565 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.8991, allocations: 450.3 kB / 0.7569 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004094/0.8995, allocations: 41.03 kB / 0.757 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.9007, allocations: 168.4 kB / 0.7571 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.901, allocations: 99.34 kB / 0.7572 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.9011, allocations: 37.59 kB / 0.7573 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001859/0.903, allocations: 0.9724 MB / 0.7582 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.753e-06/0.903, allocations: 1 kB / 0.7582 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004528/0.9075, allocations: 1.132 MB / 0.7593 GB, free: 151.7 MB / 0.5762 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.0003185/0.9078, allocations: 147.6 kB / 0.7594 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005623/0.9135, allocations: 4.013 MB / 0.7634 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.9135, allocations: 1.125 kB / 0.7634 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.9149, allocations: 1.058 MB / 0.7644 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.9173, allocations: 449.9 kB / 0.7648 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.9293, allocations: 6.99 MB / 0.7717 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003765/0.9331, allocations: 2.871 MB / 0.7745 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002878/0.936, allocations: 1.21 MB / 0.7756 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/0.9366, allocations: 122.3 kB / 0.7758 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.9366, allocations: 0 / 0.7758 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.03489/0.9715, allocations: 24.52 MB / 0.7997 GB, free: 126.6 MB / 0.5762 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)