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.001736/0.001737, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001922/0.001922, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.447/1.447, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 279.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9693/0.9693, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 87.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4339, allocations: 86.98 MB / 0.7671 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02554/0.4594, allocations: 23.4 MB / 0.7899 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.4707, allocations: 6.488 MB / 0.7963 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.4726, allocations: 95.56 kB / 0.7964 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003679/0.4763, allocations: 1.492 MB / 0.7978 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005585/0.4819, allocations: 1.937 MB / 0.7997 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.4857, allocations: 1.469 MB / 0.8011 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007663/0.4934, allocations: 6.916 MB / 0.8079 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009843/0.5032, allocations: 6.941 MB / 0.8147 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.508, allocations: 2.87 MB / 0.8175 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005692/0.5137, allocations: 3.474 MB / 0.8209 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00158/0.5153, allocations: 0.5273 MB / 0.8214 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.5199, allocations: 1.174 MB / 0.8225 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004367/0.5243, allocations: 2.464 MB / 0.8249 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005802/0.5301, allocations: 2.544 MB / 0.8274 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009987/0.5401, allocations: 8.506 MB / 0.8357 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5402, allocations: 11.94 kB / 0.8357 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5402, allocations: 0 / 0.8357 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001918/0.5404, allocations: 0 / 0.8357 GB, free: 13.19 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.0102/0.5506, allocations: 4.431 MB / 0.8401 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.5507, allocations: 8.031 kB / 0.8401 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00896/0.5596, allocations: 1.685 MB / 0.8417 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006481/0.5661, allocations: 2.692 MB / 0.8443 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/0.5665, allocations: 275.7 kB / 0.8446 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008796/0.5674, allocations: 368.2 kB / 0.845 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.5811, allocations: 7.487 MB / 0.8523 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.5812, allocations: 11.94 kB / 0.8523 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006/0.5819, allocations: 163.9 kB / 0.8524 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006328/0.5825, allocations: 487.3 kB / 0.8529 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.5928, allocations: 5.689 MB / 0.8585 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03815/0.631, allocations: 31.5 MB / 0.8892 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.6341, allocations: 2.09 MB / 0.8913 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/0.6372, allocations: 2.186 MB / 0.8934 GB, free: 14.95 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.6374, allocations: 17.31 kB / 0.8934 GB, free: 14.93 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.6375, allocations: 47.88 kB / 0.8935 GB, free: 14.88 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 3.787e-06/0.6375, allocations: 0 / 0.8935 GB, free: 14.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.3125/0.95, allocations: 77.01 MB / 0.9687 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.95, allocations: 77.41 kB / 0.9687 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.429/1.379, allocations: 1.664 MB / 0.9704 GB, free: 185.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000773/1.38, allocations: 65.34 kB / 0.9704 GB, free: 185.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001657/1.382, allocations: 1.752 MB / 0.9721 GB, free: 185.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/1.383, allocations: 0.851 MB / 0.973 GB, free: 184.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/1.384, allocations: 487.8 kB / 0.9734 GB, free: 184.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.119e-05/1.384, allocations: 306.8 kB / 0.9737 GB, free: 184.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004749/1.389, allocations: 2.728 MB / 0.9764 GB, free: 183.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004683/1.393, allocations: 3.331 MB / 0.9796 GB, free: 181.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007411/1.401, allocations: 6.4 MB / 0.9859 GB, free: 178.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.401, allocations: 3.938 kB / 0.9859 GB, free: 178.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02875/1.43, allocations: 14.68 MB / 1 GB, free: 174.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/1.43, allocations: 19.28 kB / 1 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/1.43, allocations: 16.97 kB / 1 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02685/1.457, allocations: 9.247 MB / 1.009 GB, free: 165.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.458, allocations: 295.5 kB / 1.01 GB, free: 165.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06723/1.525, allocations: 52.32 MB / 1.061 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/1.528, allocations: 225 kB / 1.061 GB, free: 112 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002874/1.529, allocations: 96 kB / 1.061 GB, free: 112 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.002942/1.532, allocations: 1.598 MB / 1.063 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/1.532, allocations: 242.2 kB / 1.063 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02874/1.561, allocations: 14.76 MB / 1.077 GB, free: 95.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.092e-05/1.561, allocations: 11.95 kB / 1.077 GB, free: 95.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.561, allocations: 0 / 1.077 GB, free: 95.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.563, allocations: 0.8455 MB / 1.078 GB, free: 94.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/1.564, allocations: 47.84 kB / 1.078 GB, free: 94.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/1.566, allocations: 195.7 kB / 1.078 GB, free: 94.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000981/1.567, allocations: 481 kB / 1.079 GB, free: 93.7 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02308/1.59, allocations: 11.61 MB / 1.09 GB, free: 82.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00964/1.6, allocations: 9.073 MB / 1.099 GB, free: 73.05 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002901/1.603, allocations: 2.81 MB / 1.102 GB, free: 70.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00131/1.604, allocations: 1.133 MB / 1.103 GB, free: 69.09 MB / 0.7325 GB Notification: Performance of Backend: time 3.9e-07/1.604, allocations: 0 / 1.103 GB, free: 69.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01907/1.623, allocations: 8.304 MB / 1.111 GB, free: 60.78 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0124/1.635, allocations: 9.377 MB / 1.12 GB, free: 51.42 MB / 0.7325 GB Notification: Performance of Templates: time 0.1134/1.749, allocations: 82.71 MB / 1.201 GB, free: 1.055 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)