Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001469/0.001469, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.003178/0.003178, allocations: 194.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.846/1.846, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.00238, allocations: 70.97 kB / 0.671 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.314, allocations: 114.5 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00931/0.3233, allocations: 5.467 MB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005562/0.329, allocations: 2.62 MB / 0.7908 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007838/0.3298, allocations: 19.88 kB / 0.7908 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.3317, allocations: 0.6414 MB / 0.7914 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.333, allocations: 382.1 kB / 0.7918 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.334, allocations: 351.4 kB / 0.7921 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.3351, allocations: 0.9552 MB / 0.793 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008019/0.3359, allocations: 0.5144 MB / 0.7935 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005644/0.3365, allocations: 366.6 kB / 0.7939 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.3371, allocations: 422.3 kB / 0.7943 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.043e-05/0.3372, allocations: 48 kB / 0.7943 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007463/0.3379, allocations: 363.3 kB / 0.7947 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.3382, allocations: 251.4 kB / 0.7949 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.3385, allocations: 354.2 kB / 0.7953 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.3397, allocations: 0.9811 MB / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3397, allocations: 0 / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3397, allocations: 0 / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3397, allocations: 0 / 0.7962 GB, free: 140 kB / 0.6075 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.001699/0.3414, allocations: 0.9737 MB / 0.7972 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3415, allocations: 8.031 kB / 0.7972 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.3428, allocations: 195.8 kB / 0.7974 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006765/0.3435, allocations: 494.3 kB / 0.7978 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.3435, allocations: 37.38 kB / 0.7979 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.3437, allocations: 52.55 kB / 0.7979 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3449, allocations: 0.828 MB / 0.7987 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.345, allocations: 7.938 kB / 0.7987 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.345, allocations: 20 kB / 0.7988 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.3453, allocations: 72.94 kB / 0.7988 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008565/0.3461, allocations: 0.5658 MB / 0.7994 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.3508, allocations: 4.589 MB / 0.8039 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.3513, allocations: 295.3 kB / 0.8041 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.3517, allocations: 229.3 kB / 0.8044 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.3517, allocations: 4.281 kB / 0.8044 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.3518, allocations: 38.84 kB / 0.8044 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 3.567e-06/0.3518, allocations: 0 / 0.8044 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005841/0.3576, allocations: 2.634 MB / 0.807 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3577, allocations: 55.41 kB / 0.807 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.3582, allocations: 461.9 kB / 0.8075 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.3582, allocations: 37.7 kB / 0.8075 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.3585, allocations: 335.7 kB / 0.8078 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3586, allocations: 142 kB / 0.808 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.3587, allocations: 106.1 kB / 0.8081 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3589, allocations: 358.8 kB / 0.8084 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.3592, allocations: 241 kB / 0.8086 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.3597, allocations: 413.2 kB / 0.809 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008519/0.3606, allocations: 0.6779 MB / 0.8097 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3606, allocations: 4 kB / 0.8097 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001651/0.3622, allocations: 0.9207 MB / 0.8106 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.3623, allocations: 8.656 kB / 0.8106 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3623, allocations: 4 kB / 0.8106 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007774/0.3631, allocations: 230.3 kB / 0.8108 GB, free: 288 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.3636, allocations: 115.8 kB / 0.8109 GB, free: 172 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005024/0.3686, allocations: 5.336 MB / 0.8161 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/0.3692, allocations: 27.97 kB / 0.8162 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.3692, allocations: 24 kB / 0.8162 GB, free: 10.36 MB / 0.6387 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.0003348/0.3695, allocations: 221.9 kB / 0.8164 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.3697, allocations: 63.28 kB / 0.8165 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.3711, allocations: 0.7741 MB / 0.8172 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.3711, allocations: 4.141 kB / 0.8172 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3711, allocations: 4 kB / 0.8172 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3712, allocations: 7.984 kB / 0.8172 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.3735, allocations: 1.502 MB / 0.8187 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3736, allocations: 0 / 0.8187 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.3739, allocations: 72.06 kB / 0.8188 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006713/0.3746, allocations: 210.5 kB / 0.819 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.3747, allocations: 16 kB / 0.819 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004948/0.3796, allocations: 5.266 MB / 0.8241 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3796, allocations: 12.03 kB / 0.8241 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.3815, allocations: 1.135 MB / 0.8252 GB, free: 500 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.3818, allocations: 172.4 kB / 0.8254 GB, free: 308 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.3819, allocations: 11.94 kB / 0.8254 GB, free: 296 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.3822, allocations: 32.03 kB / 0.8255 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.429e-05/0.3823, allocations: 35.89 kB / 0.8255 GB, free: 228 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.3824, allocations: 12 kB / 0.8255 GB, free: 216 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003831/0.3828, allocations: 306.9 kB / 0.8258 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3828, allocations: 0 / 0.8258 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007201/0.3835, allocations: 172 kB / 0.826 GB, free: 15.75 MB / 0.6544 GB 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.0001904/0.3837, allocations: 119.1 kB / 0.8261 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.3855, allocations: 1.047 MB / 0.8271 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.3856, allocations: 4.125 kB / 0.8271 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.3866, allocations: 0.6798 MB / 0.8278 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000981/0.3876, allocations: 181.2 kB / 0.8279 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.3901, allocations: 1.52 MB / 0.8294 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.3908, allocations: 0.9494 MB / 0.8303 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003972/0.3912, allocations: 109 kB / 0.8304 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3913, allocations: 39.44 kB / 0.8305 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of SimCode: time 1.022e-06/0.3913, allocations: 4 kB / 0.8305 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.01551/0.4068, allocations: 8.904 MB / 0.8392 GB, free: 2.156 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)