Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001375/0.001375, allocations: 108.9 kB / 17.03 MB, free: 6.094 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.001288/0.001288, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7266/0.7266, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3326, allocations: 76.15 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006189/0.3389, allocations: 5.518 MB / 0.563 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004257/0.3432, allocations: 2.65 MB / 0.5655 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005448/0.3437, allocations: 27.16 kB / 0.5656 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.3456, allocations: 0.6734 MB / 0.5662 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.3467, allocations: 410.6 kB / 0.5666 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.3479, allocations: 413.9 kB / 0.567 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.3491, allocations: 0.9553 MB / 0.5679 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007043/0.3498, allocations: 473.6 kB / 0.5684 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.3504, allocations: 372.8 kB / 0.5688 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005828/0.351, allocations: 403 kB / 0.5691 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.329e-05/0.3511, allocations: 47.69 kB / 0.5692 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007074/0.3518, allocations: 359.9 kB / 0.5695 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.3521, allocations: 251.5 kB / 0.5698 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.3524, allocations: 354.8 kB / 0.5701 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.3536, allocations: 0.9727 MB / 0.5711 GB, free: 28.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3536, allocations: 0 / 0.5711 GB, free: 28.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3537, allocations: 0 / 0.5711 GB, free: 28.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.3537, allocations: 1.922 kB / 0.5711 GB, free: 28.54 MB / 446.1 MB 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.001721/0.3554, allocations: 0.9766 MB / 0.572 GB, free: 27.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3555, allocations: 9.094 kB / 0.572 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.3569, allocations: 193.5 kB / 0.5722 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009301/0.3579, allocations: 0.5282 MB / 0.5727 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.3579, allocations: 34.34 kB / 0.5728 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.3581, allocations: 59.66 kB / 0.5728 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.3593, allocations: 0.8327 MB / 0.5736 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.3593, allocations: 6.188 kB / 0.5736 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.3594, allocations: 23.69 kB / 0.5737 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.3596, allocations: 65.48 kB / 0.5737 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/0.3605, allocations: 0.5722 MB / 0.5743 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.3646, allocations: 4.578 MB / 0.5787 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.3651, allocations: 292.9 kB / 0.579 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.3655, allocations: 230.1 kB / 0.5792 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.3655, allocations: 4.188 kB / 0.5792 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3655, allocations: 36.72 kB / 0.5793 GB, free: 22.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.3655, allocations: 1.312 kB / 0.5793 GB, free: 22.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005877/0.3714, allocations: 2.632 MB / 0.5819 GB, free: 21.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.3715, allocations: 59.88 kB / 0.5819 GB, free: 21.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.372, allocations: 461.3 kB / 0.5823 GB, free: 20.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.3721, allocations: 36.67 kB / 0.5824 GB, free: 20.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3723, allocations: 338 kB / 0.5827 GB, free: 20.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.266e-05/0.3724, allocations: 145.9 kB / 0.5828 GB, free: 20.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.3725, allocations: 106 kB / 0.5829 GB, free: 20.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.3726, allocations: 364 kB / 0.5833 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.373, allocations: 233.8 kB / 0.5835 GB, free: 20.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.3735, allocations: 407.9 kB / 0.5839 GB, free: 19.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008298/0.3743, allocations: 0.6739 MB / 0.5846 GB, free: 19.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3743, allocations: 1.281 kB / 0.5846 GB, free: 19.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001856/0.3762, allocations: 0.9278 MB / 0.5855 GB, free: 18.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.3762, allocations: 7.5 kB / 0.5855 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3762, allocations: 5.875 kB / 0.5855 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007943/0.377, allocations: 227.4 kB / 0.5857 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.3776, allocations: 120.5 kB / 0.5858 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.382, allocations: 5.334 MB / 0.591 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.3826, allocations: 33.48 kB / 0.5911 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.3827, allocations: 27.78 kB / 0.5911 GB, free: 14.13 MB / 446.1 MB 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.0003279/0.383, allocations: 224.3 kB / 0.5913 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.38e-05/0.3831, allocations: 64.09 kB / 0.5914 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.3845, allocations: 0.7708 MB / 0.5921 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3845, allocations: 4.812 kB / 0.5921 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3845, allocations: 2.562 kB / 0.5921 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3845, allocations: 0 / 0.5921 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.3869, allocations: 1.504 MB / 0.5936 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3869, allocations: 5.141 kB / 0.5936 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.3873, allocations: 70.08 kB / 0.5937 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006461/0.388, allocations: 210 kB / 0.5939 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.388, allocations: 12.73 kB / 0.5939 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.3918, allocations: 5.269 MB / 0.599 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3918, allocations: 6.281 kB / 0.599 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.3935, allocations: 1.125 MB / 0.6001 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.3939, allocations: 173.1 kB / 0.6003 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.55e-05/0.3939, allocations: 16.84 kB / 0.6003 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.3943, allocations: 23.66 kB / 0.6003 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3944, allocations: 40.05 kB / 0.6004 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.3944, allocations: 17.66 kB / 0.6004 GB, free: 6.363 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.3948, allocations: 312.8 kB / 0.6007 GB, free: 6.176 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3948, allocations: 0 / 0.6007 GB, free: 6.176 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008122/0.3956, allocations: 167.7 kB / 0.6008 GB, free: 6.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000135/0.3957, allocations: 119.4 kB / 0.601 GB, free: 6.051 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.3972, allocations: 1.017 MB / 0.6019 GB, free: 5.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3972, allocations: 0 / 0.6019 GB, free: 5.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.398, allocations: 0.6838 MB / 0.6026 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.3988, allocations: 184.6 kB / 0.6028 GB, free: 4.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.4005, allocations: 1.266 MB / 0.604 GB, free: 2.977 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.4008, allocations: 0.9533 MB / 0.605 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002869/0.4011, allocations: 113 kB / 0.6051 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.4012, allocations: 39.44 kB / 0.6051 GB, free: 1.844 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4012, allocations: 4 kB / 0.6051 GB, free: 1.84 MB / 446.1 MB Notification: Performance of Templates: time 0.01454/0.4157, allocations: 8.847 MB / 0.6137 GB, free: 9.129 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)