Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.441/2.441, allocations: 254.9 MB / 269.9 MB, free: 9.633 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001876, allocations: 196.4 kB / 329.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.556/2.556, allocations: 225.6 MB / 0.6001 GB, free: 464 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001488, allocations: 106.1 kB / 0.7074 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004857, allocations: 18.47 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2468, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01052/0.2574, allocations: 4.889 MB / 0.9355 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.007976/0.2655, allocations: 2.511 MB / 0.938 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008112/0.2664, allocations: 15.88 kB / 0.938 GB, free: 17.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.267, allocations: 99.14 kB / 0.9381 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.269, allocations: 334.2 kB / 0.9384 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.271, allocations: 303.3 kB / 0.9387 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002267/0.2733, allocations: 1.06 MB / 0.9398 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.2759, allocations: 0.7555 MB / 0.9405 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.277, allocations: 318.6 kB / 0.9408 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009227/0.2779, allocations: 374.6 kB / 0.9412 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.2781, allocations: 24 kB / 0.9412 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.2791, allocations: 183.7 kB / 0.9413 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.2795, allocations: 219.4 kB / 0.9416 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.2799, allocations: 149.4 kB / 0.9417 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.2814, allocations: 0.7209 MB / 0.9424 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.2814, allocations: 4 kB / 0.9424 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.055e-06/0.2814, allocations: 0 / 0.9424 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.2815, allocations: 0 / 0.9424 GB, free: 12.89 MB / 0.5886 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.003012/0.2845, allocations: 0.8531 MB / 0.9432 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.2846, allocations: 16.03 kB / 0.9433 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/0.2876, allocations: 191.8 kB / 0.9434 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.2891, allocations: 482.8 kB / 0.9439 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.2892, allocations: 41.36 kB / 0.9439 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.2895, allocations: 64.39 kB / 0.944 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.2918, allocations: 0.8277 MB / 0.9448 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.2919, allocations: 0 / 0.9448 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.292, allocations: 23.98 kB / 0.9448 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00045/0.2925, allocations: 72.94 kB / 0.9449 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.294, allocations: 0.5657 MB / 0.9455 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005802/0.2999, allocations: 4.589 MB / 0.9499 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.3006, allocations: 295.3 kB / 0.9502 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/0.3011, allocations: 225.2 kB / 0.9504 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/0.3011, allocations: 8.219 kB / 0.9504 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3012, allocations: 38.84 kB / 0.9505 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/0.3012, allocations: 4 kB / 0.9505 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=40): time 0.00873/0.3099, allocations: 2.635 MB / 0.9531 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.31, allocations: 55.41 kB / 0.9531 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/0.3107, allocations: 462 kB / 0.9535 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.3107, allocations: 33.7 kB / 0.9536 GB, free: 0.7461 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.311, allocations: 347.6 kB / 0.9539 GB, free: 408 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.3111, allocations: 141.9 kB / 0.954 GB, free: 264 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.3112, allocations: 16 kB / 0.9541 GB, free: 248 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3113, allocations: 362.8 kB / 0.9544 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/0.312, allocations: 233 kB / 0.9546 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007561/0.3127, allocations: 406.4 kB / 0.955 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007693/0.3135, allocations: 293.7 kB / 0.9553 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3135, allocations: 4 kB / 0.9553 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002915/0.3165, allocations: 0.9139 MB / 0.9562 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.3165, allocations: 8 kB / 0.9562 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3166, allocations: 7.938 kB / 0.9562 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.3179, allocations: 230.4 kB / 0.9564 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009911/0.3189, allocations: 115.8 kB / 0.9565 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007541/0.3265, allocations: 4.939 MB / 0.9614 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008406/0.3274, allocations: 27.97 kB / 0.9614 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.3275, allocations: 28.06 kB / 0.9614 GB, free: 8.203 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004861/0.328, allocations: 225.7 kB / 0.9616 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3281, allocations: 59.34 kB / 0.9617 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.3307, allocations: 0.7772 MB / 0.9624 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.3307, allocations: 4 kB / 0.9625 GB, free: 7.117 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3308, allocations: 4 kB / 0.9625 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.3308, allocations: 3.984 kB / 0.9625 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004581/0.3354, allocations: 1.498 MB / 0.9639 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.3355, allocations: 4 kB / 0.9639 GB, free: 5.516 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/0.3363, allocations: 63.95 kB / 0.964 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.3377, allocations: 210.5 kB / 0.9642 GB, free: 5.238 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/0.3378, allocations: 8 kB / 0.9642 GB, free: 5.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007374/0.3452, allocations: 4.868 MB / 0.9689 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/0.3453, allocations: 15.97 kB / 0.969 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/0.3483, allocations: 1.127 MB / 0.9701 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.3487, allocations: 164.4 kB / 0.9702 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.3488, allocations: 8 kB / 0.9702 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.3494, allocations: 35.97 kB / 0.9703 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.3495, allocations: 35.89 kB / 0.9703 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.3496, allocations: 19.94 kB / 0.9703 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005255/0.3501, allocations: 310.9 kB / 0.9706 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3501, allocations: 0 / 0.9706 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009155/0.3511, allocations: 168 kB / 0.9708 GB, free: 14.02 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002103/0.3513, allocations: 115.2 kB / 0.9709 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.3537, allocations: 1.005 MB / 0.9719 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.3538, allocations: 4.125 kB / 0.9719 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.3553, allocations: 0.6835 MB / 0.9725 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.3568, allocations: 168.5 kB / 0.9727 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.3599, allocations: 1.509 MB / 0.9742 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.3606, allocations: 0.9533 MB / 0.9751 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006226/0.3612, allocations: 105 kB / 0.9752 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3614, allocations: 39.44 kB / 0.9752 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.3614, allocations: 0 / 0.9752 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of Templates: time 0.02387/0.3853, allocations: 8.151 MB / 0.9832 GB, free: 1.152 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)