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.00145/0.00145, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001632/0.001632, allocations: 185.4 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 289.7 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.9458/0.9458, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 100.2 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.5024, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007442/0.5099, allocations: 5.536 MB / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004275/0.5142, allocations: 2.638 MB / 0.775 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004657/0.5147, allocations: 19.88 kB / 0.7751 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.5165, allocations: 0.6846 MB / 0.7757 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.5176, allocations: 401.8 kB / 0.7761 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.5186, allocations: 411 kB / 0.7765 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.5199, allocations: 0.9591 MB / 0.7774 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007411/0.5206, allocations: 470.5 kB / 0.7779 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.5212, allocations: 382.5 kB / 0.7783 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006753/0.5219, allocations: 398.5 kB / 0.7786 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.522, allocations: 48 kB / 0.7787 GB, free: 7.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007288/0.5228, allocations: 367.2 kB / 0.779 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.5231, allocations: 251.3 kB / 0.7793 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003997/0.5235, allocations: 354.2 kB / 0.7796 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.5246, allocations: 0.9758 MB / 0.7806 GB, free: 6.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5246, allocations: 0 / 0.7806 GB, free: 6.016 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5246, allocations: 0 / 0.7806 GB, free: 6.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.5247, 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.001833/0.5265, allocations: 0.9698 MB / 0.7815 GB, free: 4.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5266, allocations: 12.03 kB / 0.7815 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.5281, allocations: 199.8 kB / 0.7817 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.529, allocations: 0.5295 MB / 0.7822 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.5291, allocations: 45.36 kB / 0.7823 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.5292, allocations: 52.55 kB / 0.7823 GB, free: 4.125 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.5304, allocations: 0.8303 MB / 0.7831 GB, free: 3.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.5305, allocations: 4 kB / 0.7831 GB, free: 3.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.5306, allocations: 23.98 kB / 0.7832 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002027/0.5308, allocations: 68.94 kB / 0.7832 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.5316, allocations: 0.5696 MB / 0.7838 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004407/0.5361, allocations: 4.573 MB / 0.7882 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.5365, allocations: 299.2 kB / 0.7885 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.5368, allocations: 221.3 kB / 0.7887 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.5369, allocations: 8.219 kB / 0.7887 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.5369, allocations: 42.84 kB / 0.7888 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.5369, allocations: 0 / 0.7888 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005655/0.5426, allocations: 2.619 MB / 0.7913 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.5426, allocations: 59.39 kB / 0.7914 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.5432, allocations: 462 kB / 0.7918 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.5432, allocations: 33.7 kB / 0.7919 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.5435, allocations: 347.6 kB / 0.7922 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.5436, allocations: 141.9 kB / 0.7923 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.5438, allocations: 110.1 kB / 0.7924 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5439, allocations: 362.7 kB / 0.7928 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.5443, allocations: 237 kB / 0.793 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.5447, allocations: 411.2 kB / 0.7934 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000859/0.5456, allocations: 0.674 MB / 0.7941 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.5456, allocations: 3.938 kB / 0.7941 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001703/0.5473, allocations: 0.921 MB / 0.795 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.5474, allocations: 8 kB / 0.795 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.5474, allocations: 8.656 kB / 0.795 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007774/0.5482, allocations: 222.4 kB / 0.7952 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.5487, allocations: 115.8 kB / 0.7953 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/0.5546, allocations: 5.336 MB / 0.8005 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.5551, allocations: 36.03 kB / 0.8006 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.5552, allocations: 20 kB / 0.8006 GB, free: 204 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.0003329/0.5555, allocations: 229.7 kB / 0.8008 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5556, allocations: 59.28 kB / 0.8008 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.5572, allocations: 0.7744 MB / 0.8016 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5572, allocations: 0 / 0.8016 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5572, allocations: 8 kB / 0.8016 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.5575, allocations: 172.3 kB / 0.8018 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.5576, allocations: 8 kB / 0.8018 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.558, allocations: 27.97 kB / 0.8018 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.5581, allocations: 39.72 kB / 0.8018 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001951/0.5601, allocations: 0.8539 MB / 0.8027 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001179/0.5613, allocations: 0.9607 MB / 0.8036 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003272/0.5616, allocations: 239.6 kB / 0.8039 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003777/0.562, allocations: 314.9 kB / 0.8042 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of Backend: time 6.11e-07/0.562, allocations: 0 / 0.8042 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.5642, allocations: 1.078 MB / 0.8052 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002446/0.5667, allocations: 1.778 MB / 0.8069 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.01914/0.5859, 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)