Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.01569/0.01569, allocations: 108.2 kB / 15.74 MB, free: 6.441 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.003243/0.003243, allocations: 190.9 kB / 16.67 MB, free: 6.355 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.852/1.852, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.774/1.774, allocations: 251.7 MB / 0.5094 GB, free: 3.094 MB / 414.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.001461/0.001461, allocations: 64.47 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2945, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007799/0.3023, allocations: 5.45 MB / 0.8334 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004955/0.3073, allocations: 2.627 MB / 0.8359 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.3078, allocations: 23.88 kB / 0.836 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.3097, allocations: 0.692 MB / 0.8366 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.3108, allocations: 421.7 kB / 0.837 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3119, allocations: 399.1 kB / 0.8374 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.3131, allocations: 0.9436 MB / 0.8383 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000701/0.3138, allocations: 466.5 kB / 0.8388 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004863/0.3143, allocations: 378.5 kB / 0.8391 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.3148, allocations: 398.5 kB / 0.8395 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.3149, allocations: 51.94 kB / 0.8396 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007328/0.3156, allocations: 359.3 kB / 0.8399 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.3159, allocations: 251.3 kB / 0.8402 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.3163, allocations: 350.2 kB / 0.8405 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.3176, allocations: 0.9695 MB / 0.8414 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3176, allocations: 0 / 0.8414 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3176, allocations: 4 kB / 0.8414 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.3176, allocations: 0 / 0.8414 GB, free: 2.449 MB / 0.6544 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.00199/0.3196, allocations: 0.9737 MB / 0.8424 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.3197, allocations: 8.031 kB / 0.8424 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.3212, allocations: 195.9 kB / 0.8426 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.322, allocations: 0.5063 MB / 0.8431 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.3221, allocations: 37.36 kB / 0.8431 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.3222, allocations: 64.53 kB / 0.8432 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3234, allocations: 0.824 MB / 0.844 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.3234, allocations: 15.84 kB / 0.844 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.3235, allocations: 27.97 kB / 0.844 GB, free: 15.63 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.3237, allocations: 68.94 kB / 0.8441 GB, free: 15.56 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008599/0.3246, allocations: 0.5658 MB / 0.8446 GB, free: 15 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004514/0.3291, allocations: 4.558 MB / 0.8491 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.3296, allocations: 295.2 kB / 0.8494 GB, free: 9.793 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.3299, allocations: 233.3 kB / 0.8496 GB, free: 9.562 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.3299, allocations: 288 / 0.8496 GB, free: 9.562 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.33, allocations: 38.84 kB / 0.8496 GB, free: 9.516 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 1.704e-06/0.33, allocations: 0 / 0.8496 GB, free: 9.516 MB / 0.67 GB Notification: Performance of matching and sorting (n=40): time 0.005611/0.3356, allocations: 2.638 MB / 0.8522 GB, free: 6.75 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3357, allocations: 59.41 kB / 0.8523 GB, free: 6.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.3362, allocations: 453.9 kB / 0.8527 GB, free: 6.223 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.791e-05/0.3363, allocations: 33.7 kB / 0.8527 GB, free: 6.184 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.3366, allocations: 351.6 kB / 0.8531 GB, free: 5.832 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.3368, allocations: 149.9 kB / 0.8532 GB, free: 5.684 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3369, allocations: 102.2 kB / 0.8533 GB, free: 5.578 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3371, allocations: 362.8 kB / 0.8537 GB, free: 5.215 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.3375, allocations: 237 kB / 0.8539 GB, free: 4.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.338, allocations: 406.4 kB / 0.8543 GB, free: 4.512 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009073/0.3389, allocations: 0.6778 MB / 0.8549 GB, free: 3.762 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3389, allocations: 4 kB / 0.8549 GB, free: 3.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001607/0.3405, allocations: 0.9172 MB / 0.8558 GB, free: 2.824 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3406, allocations: 8 kB / 0.8558 GB, free: 2.816 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3406, allocations: 8 kB / 0.8558 GB, free: 2.809 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007676/0.3414, allocations: 226.6 kB / 0.8561 GB, free: 2.578 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.3419, allocations: 119.8 kB / 0.8562 GB, free: 2.461 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005285/0.3472, allocations: 5.328 MB / 0.8614 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.3477, allocations: 35.97 kB / 0.8614 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.3477, allocations: 23.98 kB / 0.8614 GB, free: 12.66 MB / 0.6856 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.0004219/0.3482, allocations: 225.7 kB / 0.8616 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.3483, allocations: 59.28 kB / 0.8617 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.3502, allocations: 0.7772 MB / 0.8625 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3502, allocations: 4 kB / 0.8625 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.3502, allocations: 4.188 kB / 0.8625 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3502, allocations: 3.984 kB / 0.8625 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.3532, allocations: 1.494 MB / 0.8639 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.3532, allocations: 8.031 kB / 0.8639 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.3536, allocations: 63.89 kB / 0.864 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007058/0.3543, allocations: 206.4 kB / 0.8642 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.3543, allocations: 12 kB / 0.8642 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/0.3598, allocations: 5.277 MB / 0.8694 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/0.3598, allocations: 7.938 kB / 0.8694 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.3618, allocations: 1.127 MB / 0.8705 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.3621, allocations: 176.5 kB / 0.8706 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.3622, allocations: 11.94 kB / 0.8707 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.3625, allocations: 23.97 kB / 0.8707 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3626, allocations: 39.89 kB / 0.8707 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.3627, allocations: 12 kB / 0.8707 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000454/0.3631, allocations: 314.9 kB / 0.871 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3632, allocations: 0 / 0.871 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008429/0.364, allocations: 168 kB / 0.8712 GB, free: 2.055 MB / 0.6856 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.0002388/0.3643, allocations: 119.1 kB / 0.8713 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.3661, allocations: 1.012 MB / 0.8723 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.3662, allocations: 0 / 0.8723 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.3672, allocations: 0.6759 MB / 0.8729 GB, free: 164 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009172/0.3681, allocations: 179 kB / 0.8731 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.3707, allocations: 1.266 MB / 0.8744 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/0.3714, allocations: 0.9494 MB / 0.8753 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003914/0.3718, allocations: 117 kB / 0.8754 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3719, allocations: 39.44 kB / 0.8754 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of SimCode: time 8.11e-07/0.3719, allocations: 0 / 0.8754 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of Templates: time 0.01874/0.3906, allocations: 8.95 MB / 0.8842 GB, free: 4.711 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)