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.001267/0.001267, allocations: 104.2 kB / 15.98 MB, free: 6.348 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.001214/0.001214, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.512/1.512, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.676/1.676, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001383/0.001383, allocations: 64.89 kB / 0.6717 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2574, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006779/0.2642, allocations: 5.461 MB / 0.7889 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00416/0.2684, allocations: 2.624 MB / 0.7914 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.2688, allocations: 19.81 kB / 0.7914 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.2704, allocations: 0.6378 MB / 0.7921 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008413/0.2713, allocations: 378.1 kB / 0.7924 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.2721, allocations: 351.3 kB / 0.7928 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009872/0.2731, allocations: 0.9553 MB / 0.7937 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006668/0.2738, allocations: 0.5104 MB / 0.7942 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.2742, allocations: 378.5 kB / 0.7946 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.2746, allocations: 422.4 kB / 0.795 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.573e-05/0.2747, allocations: 48 kB / 0.795 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.2753, allocations: 367.2 kB / 0.7953 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.2755, allocations: 243.4 kB / 0.7956 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.2758, allocations: 346.3 kB / 0.7959 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000753/0.2766, allocations: 0.752 MB / 0.7966 GB, free: 396 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2766, allocations: 0 / 0.7966 GB, free: 396 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2766, allocations: 0 / 0.7966 GB, free: 396 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.2766, allocations: 0 / 0.7966 GB, free: 396 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.001469/0.2781, allocations: 0.9699 MB / 0.7976 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2781, allocations: 11.97 kB / 0.7976 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.2794, allocations: 195.8 kB / 0.7978 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/0.28, allocations: 494.4 kB / 0.7983 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.2801, allocations: 37.38 kB / 0.7983 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.2802, allocations: 56.53 kB / 0.7984 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.2813, allocations: 0.8324 MB / 0.7992 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.2813, allocations: 4 kB / 0.7992 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.505e-05/0.2814, allocations: 24 kB / 0.7992 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.2816, allocations: 60.95 kB / 0.7993 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008039/0.2824, allocations: 0.5774 MB / 0.7998 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.2864, allocations: 4.581 MB / 0.8043 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.2869, allocations: 287.3 kB / 0.8046 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.2872, allocations: 229.3 kB / 0.8048 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.2872, allocations: 8.281 kB / 0.8048 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2873, allocations: 42.77 kB / 0.8048 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 3.747e-06/0.2873, allocations: 3.984 kB / 0.8048 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.00521/0.2925, allocations: 2.627 MB / 0.8074 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.2926, allocations: 63.34 kB / 0.8075 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.293, allocations: 449.9 kB / 0.8079 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.2931, allocations: 33.7 kB / 0.8079 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.2933, allocations: 347.6 kB / 0.8083 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.2934, allocations: 145.9 kB / 0.8084 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.2936, allocations: 102.2 kB / 0.8085 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2937, allocations: 358.8 kB / 0.8088 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.2941, allocations: 241 kB / 0.8091 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.2945, allocations: 409.5 kB / 0.8095 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.2953, allocations: 0.6817 MB / 0.8101 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2953, allocations: 4 kB / 0.8101 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00159/0.2969, allocations: 0.9173 MB / 0.811 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.2969, allocations: 11.98 kB / 0.811 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.297, allocations: 8 kB / 0.811 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007756/0.2977, allocations: 218.6 kB / 0.8112 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.2982, allocations: 123.8 kB / 0.8114 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/0.3033, allocations: 5.332 MB / 0.8166 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.3038, allocations: 35.97 kB / 0.8166 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.3038, allocations: 20 kB / 0.8166 GB, free: 10.61 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.0003536/0.3042, allocations: 222.1 kB / 0.8168 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3043, allocations: 63.27 kB / 0.8169 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.3058, allocations: 0.774 MB / 0.8176 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3058, allocations: 4 kB / 0.8177 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3058, allocations: 11.92 kB / 0.8177 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3058, allocations: 0 / 0.8177 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.3081, allocations: 1.506 MB / 0.8191 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.3081, allocations: 4 kB / 0.8191 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.3085, allocations: 67.88 kB / 0.8192 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006396/0.3092, allocations: 206.5 kB / 0.8194 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.3092, allocations: 12 kB / 0.8194 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/0.3141, allocations: 5.281 MB / 0.8246 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3141, allocations: 0 / 0.8246 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.3159, allocations: 1.139 MB / 0.8257 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.3162, allocations: 168.4 kB / 0.8258 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3163, allocations: 12.12 kB / 0.8259 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.3167, allocations: 27.97 kB / 0.8259 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.3168, allocations: 35.95 kB / 0.8259 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.3168, allocations: 12 kB / 0.8259 GB, free: 476 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003585/0.3172, allocations: 314.9 kB / 0.8262 GB, free: 164 kB / 0.6387 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3172, allocations: 4.062 kB / 0.8262 GB, free: 160 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007213/0.3179, allocations: 164 kB / 0.8264 GB, free: 15.99 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.0001909/0.3181, allocations: 119.1 kB / 0.8265 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.3198, allocations: 1.051 MB / 0.8275 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.3198, allocations: 4 kB / 0.8275 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009377/0.3208, allocations: 0.676 MB / 0.8282 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/0.3217, allocations: 184.3 kB / 0.8284 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.324, allocations: 1.568 MB / 0.8299 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.3246, allocations: 0.9494 MB / 0.8308 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3247, allocations: 39.44 kB / 0.8309 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of SimCode: time 4e-07/0.3247, allocations: 0 / 0.8309 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.01725/0.342, allocations: 14.77 MB / 0.8453 GB, free: 12.52 MB / 0.67 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)