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.007314/0.007314, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001264/0.001264, allocations: 194.9 kB / 16.67 MB, free: 5.93 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.923/1.923, 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.807/1.807, allocations: 251.7 MB / 0.5094 GB, free: 3.004 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.001817/0.001817, allocations: 67.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2765, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00846/0.285, allocations: 5.439 MB / 0.8334 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004621/0.2897, allocations: 2.643 MB / 0.8359 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.2901, allocations: 19.88 kB / 0.836 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.292, allocations: 0.6841 MB / 0.8366 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009887/0.293, allocations: 409.7 kB / 0.837 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.294, allocations: 391.1 kB / 0.8374 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000964/0.295, allocations: 0.9475 MB / 0.8383 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006412/0.2957, allocations: 470.5 kB / 0.8388 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.2961, allocations: 374.5 kB / 0.8391 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.2966, allocations: 398.4 kB / 0.8395 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.2967, allocations: 48 kB / 0.8395 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006743/0.2974, allocations: 363.3 kB / 0.8399 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.2976, allocations: 255.3 kB / 0.8401 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.298, allocations: 350.2 kB / 0.8405 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.299, allocations: 0.9695 MB / 0.8414 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.299, allocations: 0 / 0.8414 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.382e-06/0.299, allocations: 0 / 0.8414 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.2991, allocations: 3.984 kB / 0.8414 GB, free: 2.457 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.001663/0.3007, allocations: 0.9698 MB / 0.8424 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3008, allocations: 8.031 kB / 0.8424 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.3022, allocations: 195.9 kB / 0.8426 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.303, allocations: 0.5102 MB / 0.8431 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.3031, allocations: 37.38 kB / 0.8431 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.3032, allocations: 60.48 kB / 0.8431 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.3043, allocations: 0.8241 MB / 0.844 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.3044, allocations: 15.84 kB / 0.844 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.956e-05/0.3045, allocations: 16 kB / 0.844 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002016/0.3047, allocations: 68.94 kB / 0.8441 GB, free: 15.58 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008426/0.3055, allocations: 0.5658 MB / 0.8446 GB, free: 15.02 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004291/0.3098, allocations: 4.565 MB / 0.8491 GB, free: 10.11 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.3103, allocations: 295.2 kB / 0.8493 GB, free: 9.809 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.3106, allocations: 229.3 kB / 0.8496 GB, free: 9.582 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3106, allocations: 4.219 kB / 0.8496 GB, free: 9.578 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3107, allocations: 42.84 kB / 0.8496 GB, free: 9.527 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.976e-06/0.3107, allocations: 0 / 0.8496 GB, free: 9.527 MB / 0.67 GB Notification: Performance of matching and sorting (n=40): time 0.005554/0.3163, allocations: 2.646 MB / 0.8522 GB, free: 6.754 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3163, allocations: 55.41 kB / 0.8522 GB, free: 6.688 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.3168, allocations: 453.9 kB / 0.8527 GB, free: 6.23 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.3169, allocations: 37.7 kB / 0.8527 GB, free: 6.188 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.3171, allocations: 343.6 kB / 0.853 GB, free: 5.844 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.3172, allocations: 145.9 kB / 0.8532 GB, free: 5.699 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.3174, allocations: 102.2 kB / 0.8533 GB, free: 5.594 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3175, allocations: 366.7 kB / 0.8536 GB, free: 5.227 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.3179, allocations: 233 kB / 0.8538 GB, free: 4.996 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.3183, allocations: 406.4 kB / 0.8542 GB, free: 4.527 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/0.3192, allocations: 0.674 MB / 0.8549 GB, free: 3.781 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3192, allocations: 4 kB / 0.8549 GB, free: 3.777 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001653/0.3209, allocations: 0.9207 MB / 0.8558 GB, free: 2.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3209, allocations: 8 kB / 0.8558 GB, free: 2.832 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3209, allocations: 8 kB / 0.8558 GB, free: 2.824 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007972/0.3217, allocations: 227 kB / 0.856 GB, free: 2.594 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.3222, allocations: 115.8 kB / 0.8561 GB, free: 2.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/0.3275, allocations: 5.336 MB / 0.8613 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.3281, allocations: 32.03 kB / 0.8614 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.3281, allocations: 27.94 kB / 0.8614 GB, free: 12.67 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.0003483/0.3285, allocations: 217.7 kB / 0.8616 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.094e-05/0.3286, allocations: 63.22 kB / 0.8617 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.3301, allocations: 0.7733 MB / 0.8624 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3301, allocations: 4 kB / 0.8624 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3301, allocations: 4 kB / 0.8624 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3301, allocations: 3.984 kB / 0.8624 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.3325, allocations: 1.498 MB / 0.8639 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3325, allocations: 4 kB / 0.8639 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.3329, allocations: 63.89 kB / 0.864 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006509/0.3336, allocations: 210.8 kB / 0.8642 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.3336, allocations: 12 kB / 0.8642 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004977/0.3386, allocations: 5.269 MB / 0.8693 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3386, allocations: 7.984 kB / 0.8693 GB, free: 4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.3404, allocations: 1.139 MB / 0.8704 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.3407, allocations: 168.4 kB / 0.8706 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/0.3408, allocations: 11.94 kB / 0.8706 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.3412, allocations: 27.97 kB / 0.8706 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.3413, allocations: 35.95 kB / 0.8707 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.3413, allocations: 20 kB / 0.8707 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003689/0.3417, allocations: 310.8 kB / 0.871 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3417, allocations: 0 / 0.871 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007333/0.3424, allocations: 168 kB / 0.8712 GB, free: 2.07 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.0001985/0.3426, allocations: 119.1 kB / 0.8713 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.3444, allocations: 1.012 MB / 0.8723 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3444, allocations: 0 / 0.8723 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009991/0.3454, allocations: 0.6759 MB / 0.8729 GB, free: 180 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3464, allocations: 191.7 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.002238/0.3487, allocations: 1.261 MB / 0.8743 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.3493, allocations: 0.9494 MB / 0.8753 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003195/0.3496, allocations: 105 kB / 0.8754 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.3497, allocations: 39.44 kB / 0.8754 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of SimCode: time 2.2e-07/0.3497, allocations: 0 / 0.8754 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of Templates: time 0.01534/0.3651, allocations: 8.945 MB / 0.8841 GB, free: 4.734 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)