Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 115.1 kB / 16.42 MB, free: 6.496 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.001941/0.001941, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002249/0.002249, allocations: 296.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9852/0.9852, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002005, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4336, allocations: 86.97 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02774/0.4614, allocations: 23.41 MB / 0.7899 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.4735, allocations: 6.48 MB / 0.7963 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.4759, allocations: 99.5 kB / 0.7964 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004382/0.4803, allocations: 1.484 MB / 0.7978 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.4849, allocations: 1.832 MB / 0.7996 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.4887, allocations: 1.467 MB / 0.801 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008014/0.4967, allocations: 6.904 MB / 0.8078 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009624/0.5064, allocations: 6.937 MB / 0.8145 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.5116, allocations: 2.878 MB / 0.8174 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005833/0.5175, allocations: 3.466 MB / 0.8207 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001602/0.5191, allocations: 0.5312 MB / 0.8213 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.5224, allocations: 1.178 MB / 0.8224 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003604/0.5261, allocations: 2.464 MB / 0.8248 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005838/0.5319, allocations: 2.536 MB / 0.8273 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.5437, allocations: 8.513 MB / 0.8356 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.5438, allocations: 3.938 kB / 0.8356 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5438, allocations: 0 / 0.8356 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002983/0.5441, allocations: 4 kB / 0.8356 GB, free: 13.48 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01294/0.557, allocations: 4.43 MB / 0.8399 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.5571, allocations: 11.97 kB / 0.8399 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009945/0.567, allocations: 1.689 MB / 0.8416 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007277/0.5744, allocations: 2.688 MB / 0.8442 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.5747, allocations: 279.7 kB / 0.8445 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001716/0.5764, allocations: 360.3 kB / 0.8448 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.593, allocations: 7.495 MB / 0.8522 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/0.5932, allocations: 11.88 kB / 0.8522 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/0.5945, allocations: 155.9 kB / 0.8523 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006834/0.5952, allocations: 487.3 kB / 0.8528 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.6073, allocations: 5.697 MB / 0.8583 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04166/0.649, allocations: 31.51 MB / 0.8891 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.6522, allocations: 2.082 MB / 0.8911 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/0.6557, allocations: 2.19 MB / 0.8933 GB, free: 15.24 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.656, allocations: 13.31 kB / 0.8933 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.656, allocations: 51.88 kB / 0.8933 GB, free: 15.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 4.228e-06/0.656, allocations: 0 / 0.8933 GB, free: 15.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.3064/0.9624, allocations: 77 MB / 0.9685 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.9625, allocations: 77.41 kB / 0.9686 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.9654, allocations: 1.678 MB / 0.9703 GB, free: 204 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005113/0.966, allocations: 65.7 kB / 0.9703 GB, free: 132 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.5281/1.494, allocations: 1.742 MB / 0.972 GB, free: 186.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.495, allocations: 0.8588 MB / 0.9729 GB, free: 185.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/1.497, allocations: 485 kB / 0.9733 GB, free: 185.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/1.497, allocations: 310 kB / 0.9736 GB, free: 185 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004881/1.502, allocations: 2.729 MB / 0.9763 GB, free: 184 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00487/1.507, allocations: 3.328 MB / 0.9795 GB, free: 182.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008038/1.515, allocations: 6.397 MB / 0.9858 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/1.515, allocations: 7.906 kB / 0.9858 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0295/1.544, allocations: 14.68 MB / 1 GB, free: 175.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/1.544, allocations: 19.28 kB / 1 GB, free: 175.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.544, allocations: 20 kB / 1 GB, free: 175.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02612/1.571, allocations: 9.234 MB / 1.009 GB, free: 166.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.572, allocations: 299.4 kB / 1.009 GB, free: 165.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06656/1.638, allocations: 52.33 MB / 1.061 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/1.642, allocations: 219.7 kB / 1.061 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000405/1.642, allocations: 96 kB / 1.061 GB, free: 112.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002778/1.645, allocations: 1.594 MB / 1.062 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006425/1.646, allocations: 241.1 kB / 1.063 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02857/1.674, allocations: 14.76 MB / 1.077 GB, free: 95.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.657e-05/1.674, allocations: 11.95 kB / 1.077 GB, free: 95.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.674, allocations: 3.938 kB / 1.077 GB, free: 95.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/1.676, allocations: 0.8455 MB / 1.078 GB, free: 94.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004691/1.677, allocations: 47.91 kB / 1.078 GB, free: 94.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.679, allocations: 203.6 kB / 1.078 GB, free: 94.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/1.68, allocations: 477 kB / 1.079 GB, free: 94.09 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0238/1.704, allocations: 11.61 MB / 1.09 GB, free: 82.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009625/1.713, allocations: 9.074 MB / 1.099 GB, free: 73.43 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003045/1.716, allocations: 2.802 MB / 1.102 GB, free: 70.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001499/1.718, allocations: 1.125 MB / 1.103 GB, free: 69.48 MB / 0.7325 GB Notification: Performance of Backend: time 8.91e-07/1.718, allocations: 0 / 1.103 GB, free: 69.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01976/1.738, allocations: 8.31 MB / 1.111 GB, free: 61.16 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01356/1.751, allocations: 9.368 MB / 1.12 GB, free: 51.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.1184/1.87, allocations: 82.7 MB / 1.201 GB, free: 1.441 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)