Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001142/0.001143, allocations: 110.9 kB / 16.27 MB, free: 6.414 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.001072/0.001072, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002243/0.002243, allocations: 288.9 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9562/0.9562, allocations: 169.3 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 105.8 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1694, allocations: 86.97 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.3278/0.4972, allocations: 37.25 MB / 0.7172 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02469/0.522, allocations: 13.54 MB / 0.7304 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00464/0.5267, allocations: 114.2 kB / 0.7306 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006378/0.5331, allocations: 2.282 MB / 0.7328 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004701/0.5378, allocations: 1.415 MB / 0.7342 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01043/0.5483, allocations: 3.511 MB / 0.7376 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00866/0.557, allocations: 6.376 MB / 0.7438 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01511/0.5721, allocations: 10.02 MB / 0.7536 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005448/0.5776, allocations: 2.735 MB / 0.7563 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005549/0.5832, allocations: 3.19 MB / 0.7594 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002127/0.5853, allocations: 0.6211 MB / 0.76 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.589, allocations: 1.229 MB / 0.7612 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004077/0.5931, allocations: 2.476 MB / 0.7636 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005926/0.5991, allocations: 2.553 MB / 0.7661 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.6104, allocations: 9.077 MB / 0.775 GB, free: 15.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.6104, allocations: 0 / 0.775 GB, free: 15.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6104, allocations: 0 / 0.775 GB, free: 15.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000327/0.6108, allocations: 0 / 0.775 GB, free: 15.43 MB / 0.545 GB 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.01254/0.6233, allocations: 4.302 MB / 0.7792 GB, free: 11.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6234, allocations: 8.031 kB / 0.7792 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004917/0.6283, allocations: 0.9443 MB / 0.7801 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/0.633, allocations: 2.187 MB / 0.7822 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.6333, allocations: 329 kB / 0.7826 GB, free: 7.543 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.6347, allocations: 424.3 kB / 0.783 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/0.6505, allocations: 7.369 MB / 0.7902 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.6507, allocations: 7.938 kB / 0.7902 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/0.6518, allocations: 184 kB / 0.7903 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003489/0.6522, allocations: 286.9 kB / 0.7906 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.6634, allocations: 5.963 MB / 0.7964 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03774/0.7012, allocations: 32.63 MB / 0.8283 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.7046, allocations: 2.119 MB / 0.8304 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.7062, allocations: 1.231 MB / 0.8316 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.7064, allocations: 106.1 kB / 0.8317 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.7064, allocations: 47.56 kB / 0.8317 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 5.511e-06/0.7064, allocations: 0 / 0.8317 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=101): time 0.008286/0.7147, allocations: 5.238 MB / 0.8368 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.7148, allocations: 141.5 kB / 0.837 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.7169, allocations: 1.453 MB / 0.8384 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.7171, allocations: 49.7 kB / 0.8384 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.7183, allocations: 1.859 MB / 0.8403 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/0.7187, allocations: 370.9 kB / 0.8406 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007432/0.7194, allocations: 455.1 kB / 0.841 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7196, allocations: 309.1 kB / 0.8413 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.7212, allocations: 1.122 MB / 0.8424 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.7235, allocations: 2.182 MB / 0.8446 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/0.7274, allocations: 3.399 MB / 0.8479 GB, free: 340 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.557e-05/0.7274, allocations: 12 kB / 0.8479 GB, free: 328 kB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004981/0.7324, allocations: 3.308 MB / 0.8511 GB, free: 13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.7325, allocations: 23.98 kB / 0.8511 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.644e-05/0.7325, allocations: 32 kB / 0.8512 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-05/0.7326, allocations: 48 kB / 0.8512 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/0.7347, allocations: 0.6238 MB / 0.8518 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.655e-05/0.7347, allocations: 63.73 kB / 0.8519 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.7366, allocations: 311 kB / 0.8522 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.7368, allocations: 120 kB / 0.8523 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003365/0.7402, allocations: 2.401 MB / 0.8547 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002025/0.7423, allocations: 2.019 MB / 0.8566 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003307/0.7456, allocations: 3.029 MB / 0.8596 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.829e-05/0.7456, allocations: 12 kB / 0.8596 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004128/0.7498, allocations: 2.917 MB / 0.8624 GB, free: 372 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.7498, allocations: 20 kB / 0.8625 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.7498, allocations: 36 kB / 0.8625 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.794e-05/0.7499, allocations: 52.72 kB / 0.8625 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.7515, allocations: 0.5578 MB / 0.8631 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.207e-05/0.7516, allocations: 75.66 kB / 0.8632 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.7531, allocations: 251 kB / 0.8634 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.7533, allocations: 108 kB / 0.8635 GB, free: 15.27 MB / 0.6387 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.0004421/0.7537, allocations: 343.2 kB / 0.8638 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.754, allocations: 154.1 kB / 0.864 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.757, allocations: 2.223 MB / 0.8661 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.7571, allocations: 15.94 kB / 0.8662 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.7571, allocations: 0 / 0.8662 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.7571, allocations: 11.91 kB / 0.8662 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/0.7704, allocations: 10.98 MB / 0.8769 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.7705, allocations: 12 kB / 0.8769 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.7719, allocations: 383.3 kB / 0.8773 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/0.772, allocations: 16 kB / 0.8773 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.751e-05/0.7721, allocations: 32 kB / 0.8773 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.959e-05/0.7721, allocations: 24.39 kB / 0.8773 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-05/0.7721, allocations: 15.94 kB / 0.8774 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.7753, allocations: 2.763 MB / 0.8801 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/0.7759, allocations: 446.9 kB / 0.8805 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.7761, allocations: 35.92 kB / 0.8805 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7771, allocations: 171.7 kB / 0.8807 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.7773, allocations: 96.22 kB / 0.8808 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.7774, allocations: 36 kB / 0.8808 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001164/0.7786, allocations: 0.9819 MB / 0.8818 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7786, allocations: 0 / 0.8818 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003353/0.782, allocations: 1.125 MB / 0.8829 GB, free: 11 MB / 0.6544 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.0002278/0.7822, allocations: 154.9 kB / 0.883 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005626/0.7878, allocations: 4.237 MB / 0.8871 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7878, allocations: 1.875 kB / 0.8871 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.7891, allocations: 1.058 MB / 0.8882 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.7914, allocations: 460.1 kB / 0.8886 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.8021, allocations: 7.736 MB / 0.8962 GB, free: 13.22 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002752/0.8049, allocations: 2.942 MB / 0.899 GB, free: 10.25 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006601/0.8056, allocations: 135.4 kB / 0.8992 GB, free: 10.12 MB / 0.67 GB Notification: Performance of SimCode: time 9.32e-07/0.8056, allocations: 0 / 0.8992 GB, free: 10.12 MB / 0.67 GB Notification: Performance of Templates: time 0.05306/0.8587, allocations: 40.67 MB / 0.9389 GB, free: 1.59 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)