Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 116.2 kB / 16.42 MB, free: 5.992 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.001453/0.001453, allocations: 184.8 kB / 17.35 MB, free: 5.602 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.398/1.398, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 288.6 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.9764/0.9764, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 99.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4286, allocations: 86.98 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.0081/0.4367, allocations: 6.075 MB / 0.773 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005082/0.4418, allocations: 3.137 MB / 0.7761 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.4424, allocations: 27.81 kB / 0.7761 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.4449, allocations: 0.9326 MB / 0.777 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.4462, allocations: 489.6 kB / 0.7775 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.4474, allocations: 490.8 kB / 0.7779 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.4488, allocations: 1.096 MB / 0.779 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009326/0.4498, allocations: 0.6347 MB / 0.7796 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.4505, allocations: 442.4 kB / 0.78 GB, free: 6.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.4512, allocations: 474.2 kB / 0.7805 GB, free: 6.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.4513, allocations: 60 kB / 0.7806 GB, free: 6.086 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009361/0.4523, allocations: 490.9 kB / 0.781 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.4526, allocations: 279.3 kB / 0.7813 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004769/0.4531, allocations: 405.9 kB / 0.7817 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.4546, allocations: 1.171 MB / 0.7828 GB, free: 3.762 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4546, allocations: 4 kB / 0.7828 GB, free: 3.758 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4546, allocations: 0 / 0.7828 GB, free: 3.758 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.294e-05/0.4546, allocations: 0 / 0.7828 GB, free: 3.758 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001954/0.4566, allocations: 1.052 MB / 0.7839 GB, free: 2.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4566, allocations: 8.031 kB / 0.7839 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.4582, allocations: 215.7 kB / 0.7841 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.4593, allocations: 0.5882 MB / 0.7846 GB, free: 1.809 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.4593, allocations: 53.59 kB / 0.7847 GB, free: 1.758 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.4595, allocations: 68.36 kB / 0.7848 GB, free: 1.691 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.4609, allocations: 1.026 MB / 0.7858 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.461, allocations: 11.84 kB / 0.7858 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/0.4611, allocations: 35.97 kB / 0.7858 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-05/0.4612, allocations: 65.28 kB / 0.7859 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.4622, allocations: 0.6919 MB / 0.7865 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005366/0.4676, allocations: 5.733 MB / 0.7921 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.4685, allocations: 0.598 MB / 0.7927 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008179/0.4694, allocations: 435.2 kB / 0.7931 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.4694, allocations: 11.94 kB / 0.7932 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.4694, allocations: 34.56 kB / 0.7932 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.785e-06/0.4695, allocations: 0 / 0.7932 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004395/0.4739, allocations: 2.007 MB / 0.7951 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4739, allocations: 59.41 kB / 0.7952 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.4744, allocations: 458.6 kB / 0.7956 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.4745, allocations: 33.7 kB / 0.7957 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.4748, allocations: 391.1 kB / 0.796 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.4749, allocations: 153.8 kB / 0.7962 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.4751, allocations: 106.2 kB / 0.7963 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4752, allocations: 362.8 kB / 0.7966 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.4756, allocations: 241.2 kB / 0.7969 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.4761, allocations: 461 kB / 0.7973 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008962/0.477, allocations: 0.7448 MB / 0.798 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.477, allocations: 0 / 0.798 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001834/0.4788, allocations: 1.042 MB / 0.7991 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4789, allocations: 8 kB / 0.7991 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4789, allocations: 8 kB / 0.7991 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4799, allocations: 323.5 kB / 0.7994 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.4802, allocations: 91.83 kB / 0.7995 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/0.4875, allocations: 7.481 MB / 0.8068 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.488, allocations: 32.02 kB / 0.8068 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.4881, allocations: 32 kB / 0.8068 GB, free: 9.559 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003813/0.4885, allocations: 237.6 kB / 0.8071 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4886, allocations: 55.34 kB / 0.8071 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.4903, allocations: 0.8963 MB / 0.808 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4903, allocations: 0 / 0.808 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4903, allocations: 3.984 kB / 0.808 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.4906, allocations: 176.3 kB / 0.8082 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/0.4907, allocations: 8 kB / 0.8082 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.491, allocations: 19.97 kB / 0.8082 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.4911, allocations: 43.92 kB / 0.8082 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001938/0.493, allocations: 0.9408 MB / 0.8091 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001195/0.4942, allocations: 0.9938 MB / 0.8101 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003263/0.4946, allocations: 240.1 kB / 0.8103 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003558/0.4949, allocations: 310.9 kB / 0.8106 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of Backend: time 7.91e-07/0.4949, allocations: 0 / 0.8106 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00275/0.4977, allocations: 1.299 MB / 0.8119 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002782/0.5005, allocations: 1.87 MB / 0.8137 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of Templates: time 0.02128/0.5218, allocations: 11.99 MB / 0.8254 GB, free: 6.41 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)