Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001125/0.001125, allocations: 112.4 kB / 16.42 MB, free: 6.445 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.001132/0.001132, allocations: 185.7 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.337/1.337, 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.00212/0.00212, allocations: 293.7 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.9531/0.9531, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 95.86 kB / 0.6821 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4137, allocations: 86.98 MB / 0.7671 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007115/0.4208, allocations: 5.462 MB / 0.7724 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004228/0.4251, allocations: 2.615 MB / 0.7749 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/0.4255, allocations: 27.88 kB / 0.775 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.4274, allocations: 0.6797 MB / 0.7756 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.4284, allocations: 421.8 kB / 0.776 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009987/0.4294, allocations: 391.1 kB / 0.7764 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.4306, allocations: 0.9591 MB / 0.7773 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006901/0.4313, allocations: 462.5 kB / 0.7778 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.4319, allocations: 378.7 kB / 0.7782 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006061/0.4325, allocations: 406.4 kB / 0.7785 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.4326, allocations: 48 kB / 0.7786 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006485/0.4333, allocations: 359.3 kB / 0.7789 GB, free: 7.672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.4335, allocations: 243.4 kB / 0.7792 GB, free: 7.434 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004217/0.434, allocations: 354.1 kB / 0.7795 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.4351, allocations: 0.9681 MB / 0.7804 GB, free: 6.117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4351, allocations: 0 / 0.7804 GB, free: 6.117 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4351, allocations: 7.938 kB / 0.7804 GB, free: 6.109 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.188e-05/0.4351, allocations: 0 / 0.7804 GB, free: 6.109 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.001709/0.4368, allocations: 0.9621 MB / 0.7814 GB, free: 5.098 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4369, allocations: 8.031 kB / 0.7814 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.4384, allocations: 203.8 kB / 0.7816 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008829/0.4393, allocations: 0.5218 MB / 0.7821 GB, free: 4.332 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.4393, allocations: 37.38 kB / 0.7821 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.4395, allocations: 52.55 kB / 0.7822 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.4407, allocations: 0.8241 MB / 0.783 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.4408, allocations: 11.94 kB / 0.783 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.548e-05/0.4408, allocations: 20 kB / 0.783 GB, free: 3.309 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/0.4411, allocations: 72.92 kB / 0.7831 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009257/0.442, allocations: 0.5658 MB / 0.7836 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.4466, allocations: 4.569 MB / 0.7881 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.4471, allocations: 295.3 kB / 0.7884 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.4474, allocations: 225.3 kB / 0.7886 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.4474, allocations: 4.281 kB / 0.7886 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.4475, allocations: 38.78 kB / 0.7886 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.834e-06/0.4475, allocations: 0 / 0.7886 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.00556/0.453, allocations: 2.632 MB / 0.7912 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.4531, allocations: 55.41 kB / 0.7913 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.4536, allocations: 458 kB / 0.7917 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.4536, allocations: 29.7 kB / 0.7917 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.4538, allocations: 339.6 kB / 0.7921 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.454, allocations: 145.9 kB / 0.7922 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.4541, allocations: 102.2 kB / 0.7923 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4543, allocations: 370.7 kB / 0.7926 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.4546, allocations: 241 kB / 0.7929 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.4551, allocations: 406.4 kB / 0.7933 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.4559, allocations: 0.67 MB / 0.7939 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.456, allocations: 4 kB / 0.7939 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001653/0.4576, allocations: 0.9213 MB / 0.7948 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4576, allocations: 4 kB / 0.7948 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.4577, allocations: 8 kB / 0.7948 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007739/0.4584, allocations: 234.6 kB / 0.7951 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.459, allocations: 111.9 kB / 0.7952 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005282/0.4643, allocations: 5.332 MB / 0.8004 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.4647, allocations: 31.97 kB / 0.8004 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.4648, allocations: 24 kB / 0.8004 GB, free: 348 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.0002923/0.4651, allocations: 229.7 kB / 0.8006 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/0.4652, allocations: 59.28 kB / 0.8007 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.4667, allocations: 0.774 MB / 0.8015 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.4667, allocations: 7.984 kB / 0.8015 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4668, allocations: 0 / 0.8015 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.467, allocations: 168.4 kB / 0.8016 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.4671, allocations: 4 kB / 0.8016 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.4675, allocations: 27.97 kB / 0.8017 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.4675, allocations: 31.94 kB / 0.8017 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001998/0.4696, allocations: 0.8692 MB / 0.8025 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001119/0.4707, allocations: 0.953 MB / 0.8035 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003123/0.471, allocations: 239.8 kB / 0.8037 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003149/0.4713, allocations: 310.9 kB / 0.804 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of Backend: time 6.52e-07/0.4713, allocations: 0 / 0.804 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.4734, allocations: 1.081 MB / 0.805 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00238/0.4758, allocations: 1.794 MB / 0.8068 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of Templates: time 0.01867/0.4945, allocations: 11.08 MB / 0.8176 GB, free: 14.69 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)