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.001498/0.001498, allocations: 113 kB / 16.42 MB, free: 6.449 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.001664/0.001664, 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.441/1.441, 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.002133/0.002133, allocations: 292.1 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9353/0.9353, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 96.28 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4891, allocations: 86.97 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007583/0.4967, allocations: 5.459 MB / 0.7724 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004653/0.5014, allocations: 2.623 MB / 0.7749 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006017/0.502, allocations: 19.88 kB / 0.775 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.5041, allocations: 0.6763 MB / 0.7756 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.5053, allocations: 409.8 kB / 0.776 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.5064, allocations: 391 kB / 0.7764 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.5077, allocations: 0.9552 MB / 0.7773 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007321/0.5085, allocations: 466.5 kB / 0.7778 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.5092, allocations: 374.7 kB / 0.7781 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/0.5099, allocations: 414.3 kB / 0.7785 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.5101, allocations: 48 kB / 0.7786 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007931/0.5109, allocations: 367.2 kB / 0.7789 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.5112, allocations: 239.4 kB / 0.7791 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.5116, allocations: 358.1 kB / 0.7795 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.513, allocations: 0.9642 MB / 0.7804 GB, free: 6.199 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.513, allocations: 7.938 kB / 0.7804 GB, free: 6.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.513, allocations: 0 / 0.7804 GB, free: 6.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.941e-05/0.513, allocations: 0 / 0.7804 GB, free: 6.191 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.001868/0.5149, allocations: 0.9699 MB / 0.7814 GB, free: 5.172 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.515, allocations: 8.031 kB / 0.7814 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.5164, allocations: 191.8 kB / 0.7816 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.5172, allocations: 0.5257 MB / 0.7821 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.5173, allocations: 37.36 kB / 0.7821 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.5175, allocations: 52.56 kB / 0.7822 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.5187, allocations: 0.828 MB / 0.783 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.5187, allocations: 3.938 kB / 0.783 GB, free: 3.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.5188, allocations: 23.98 kB / 0.783 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.519, allocations: 68.95 kB / 0.7831 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008784/0.5199, allocations: 0.5736 MB / 0.7836 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004397/0.5243, allocations: 4.561 MB / 0.7881 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.5247, allocations: 299.2 kB / 0.7884 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.5251, allocations: 221.3 kB / 0.7886 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.5251, allocations: 12.27 kB / 0.7886 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.5251, allocations: 34.84 kB / 0.7886 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/0.5251, allocations: 0 / 0.7886 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.00541/0.5305, allocations: 2.624 MB / 0.7912 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.5306, allocations: 59.41 kB / 0.7912 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.5311, allocations: 458 kB / 0.7917 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.5311, allocations: 33.7 kB / 0.7917 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.5313, allocations: 339.6 kB / 0.792 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.5315, allocations: 138 kB / 0.7922 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.5316, allocations: 102.2 kB / 0.7923 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.5318, allocations: 370.7 kB / 0.7926 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.5321, allocations: 237 kB / 0.7928 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.5325, allocations: 414.4 kB / 0.7932 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/0.5334, allocations: 0.674 MB / 0.7939 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5334, allocations: 0 / 0.7939 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001594/0.535, allocations: 0.9176 MB / 0.7948 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.535, allocations: 12.09 kB / 0.7948 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.535, allocations: 4 kB / 0.7948 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007869/0.5358, allocations: 222.3 kB / 0.795 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.5363, allocations: 119.8 kB / 0.7951 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004911/0.5412, allocations: 5.34 MB / 0.8004 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.5417, allocations: 31.95 kB / 0.8004 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.5418, allocations: 24 kB / 0.8004 GB, free: 428 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.0003008/0.5421, allocations: 230.3 kB / 0.8006 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5422, allocations: 67.28 kB / 0.8007 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.5437, allocations: 0.7663 MB / 0.8014 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5437, allocations: 0 / 0.8014 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5437, allocations: 4 kB / 0.8014 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.5439, allocations: 172.4 kB / 0.8016 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.544, allocations: 8 kB / 0.8016 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.5444, allocations: 23.97 kB / 0.8016 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.5444, allocations: 35.94 kB / 0.8017 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001906/0.5464, allocations: 0.8614 MB / 0.8025 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001102/0.5475, allocations: 0.953 MB / 0.8034 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003067/0.5478, allocations: 239.8 kB / 0.8037 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003193/0.5481, allocations: 306.9 kB / 0.804 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of Backend: time 6.41e-07/0.5481, allocations: 0 / 0.804 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.5502, allocations: 1.091 MB / 0.805 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002399/0.5526, allocations: 1.774 MB / 0.8068 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.01828/0.5709, allocations: 11.1 MB / 0.8176 GB, free: 14.78 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)