Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 109.7 kB / 16.42 MB, free: 6.516 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.001261/0.001261, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.414/1.414, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002117, allocations: 285.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9736/0.9736, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 95.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4192, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007026/0.4263, allocations: 5.529 MB / 0.7725 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004053/0.4304, allocations: 2.642 MB / 0.775 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.4307, allocations: 23.88 kB / 0.7751 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.4324, allocations: 0.6826 MB / 0.7757 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008461/0.4333, allocations: 421.8 kB / 0.7761 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/0.4341, allocations: 407 kB / 0.7765 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009264/0.4351, allocations: 0.9591 MB / 0.7775 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006147/0.4357, allocations: 474.5 kB / 0.7779 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.4361, allocations: 378.5 kB / 0.7783 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.4366, allocations: 402.5 kB / 0.7787 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.4367, allocations: 48 kB / 0.7787 GB, free: 7.949 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.4373, allocations: 367.2 kB / 0.779 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.4376, allocations: 251.3 kB / 0.7793 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.4379, allocations: 346.2 kB / 0.7796 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009743/0.4389, allocations: 0.9836 MB / 0.7806 GB, free: 6.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4389, allocations: 3.984 kB / 0.7806 GB, free: 6.016 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4389, allocations: 0 / 0.7806 GB, free: 6.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.4389, allocations: 0 / 0.7806 GB, free: 6.016 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001564/0.4405, allocations: 0.9659 MB / 0.7815 GB, free: 5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.142e-05/0.4406, allocations: 12.03 kB / 0.7815 GB, free: 4.988 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.442, allocations: 191.9 kB / 0.7817 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008461/0.4429, allocations: 0.5334 MB / 0.7822 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.4429, allocations: 41.3 kB / 0.7823 GB, free: 4.188 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.4431, allocations: 52.56 kB / 0.7823 GB, free: 4.137 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.4442, allocations: 0.8342 MB / 0.7831 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.4442, allocations: 0 / 0.7831 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.4443, allocations: 23.98 kB / 0.7832 GB, free: 3.203 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000203/0.4445, allocations: 68.94 kB / 0.7832 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008658/0.4454, allocations: 0.5735 MB / 0.7838 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004787/0.4502, allocations: 4.577 MB / 0.7883 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.4507, allocations: 291.3 kB / 0.7885 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.451, allocations: 225.3 kB / 0.7888 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.451, allocations: 8.219 kB / 0.7888 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.4511, allocations: 34.84 kB / 0.7888 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.4511, allocations: 4 kB / 0.7888 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005568/0.4567, allocations: 2.627 MB / 0.7914 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.4567, allocations: 55.41 kB / 0.7914 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.4572, allocations: 462 kB / 0.7919 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.4572, allocations: 37.7 kB / 0.7919 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.4575, allocations: 343.6 kB / 0.7922 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.4576, allocations: 142 kB / 0.7924 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.4578, allocations: 106.2 kB / 0.7925 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4579, allocations: 366.7 kB / 0.7928 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.4583, allocations: 233 kB / 0.793 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.4588, allocations: 410.4 kB / 0.7934 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/0.4596, allocations: 0.674 MB / 0.7941 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4596, allocations: 4 kB / 0.7941 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001662/0.4613, allocations: 0.921 MB / 0.795 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4613, allocations: 10.44 kB / 0.795 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4613, allocations: 8 kB / 0.795 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007758/0.4621, allocations: 223 kB / 0.7952 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.4627, allocations: 115.8 kB / 0.7953 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005043/0.4677, allocations: 5.336 MB / 0.8005 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.4682, allocations: 39.97 kB / 0.8006 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.4682, allocations: 24.06 kB / 0.8006 GB, free: 208 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003343/0.4686, allocations: 225.7 kB / 0.8008 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.4687, allocations: 63.27 kB / 0.8009 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.4702, allocations: 0.7781 MB / 0.8016 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4702, allocations: 0 / 0.8016 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4702, allocations: 0 / 0.8016 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.4705, allocations: 168.4 kB / 0.8018 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.4706, allocations: 12 kB / 0.8018 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.4709, allocations: 19.97 kB / 0.8018 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.471, allocations: 43.72 kB / 0.8019 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00195/0.4729, allocations: 0.8539 MB / 0.8027 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001179/0.4741, allocations: 0.9568 MB / 0.8036 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003293/0.4745, allocations: 239.6 kB / 0.8039 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003432/0.4748, allocations: 318.9 kB / 0.8042 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of Backend: time 5.91e-07/0.4748, allocations: 0 / 0.8042 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.4771, allocations: 1.075 MB / 0.8052 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002523/0.4796, allocations: 1.798 MB / 0.807 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.01886/0.4985, allocations: 11.12 MB / 0.8178 GB, free: 14.54 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)