Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.584/1.584, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.001139/0.001139, allocations: 190.7 kB / 330.8 MB, free: 476 kB / 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 1.767/1.767, allocations: 225.7 MB / 0.6016 GB, free: 1.621 MB / 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.0008394/0.000839, allocations: 103.6 kB / 0.709 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2169, allocations: 109.2 MB / 0.9328 GB, free: 6.258 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004821/0.2218, allocations: 4.865 MB / 0.9375 GB, free: 1.371 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.004635/0.2265, allocations: 4.128 MB / 0.9415 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.227, allocations: 23.81 kB / 0.9416 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.2273, allocations: 99.14 kB / 0.9417 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0009967/0.2283, allocations: 382.2 kB / 0.942 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009322/0.2293, allocations: 363.2 kB / 0.9424 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.2306, allocations: 1.248 MB / 0.9436 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.2321, allocations: 1.16 MB / 0.9447 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005339/0.2327, allocations: 314.6 kB / 0.945 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.2332, allocations: 382.4 kB / 0.9454 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.2333, allocations: 28 kB / 0.9454 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007512/0.234, allocations: 415.1 kB / 0.9458 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.2343, allocations: 219.3 kB / 0.946 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.2346, allocations: 339.9 kB / 0.9463 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.2356, allocations: 0.9578 MB / 0.9473 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2356, allocations: 4 kB / 0.9473 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2356, allocations: 0 / 0.9473 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.234e-05/0.2357, allocations: 0 / 0.9473 GB, free: 6.816 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.001488/0.2372, allocations: 0.8491 MB / 0.9481 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2372, allocations: 11.98 kB / 0.9481 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.2385, allocations: 203.8 kB / 0.9483 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006683/0.2392, allocations: 482.6 kB / 0.9488 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.2392, allocations: 37.36 kB / 0.9488 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.2394, allocations: 60.45 kB / 0.9489 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.2406, allocations: 0.8279 MB / 0.9497 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.2406, allocations: 3.938 kB / 0.9497 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/0.2407, allocations: 23.98 kB / 0.9497 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001956/0.2409, allocations: 64.95 kB / 0.9498 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008513/0.2417, allocations: 0.5697 MB / 0.9503 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.246, allocations: 4.589 MB / 0.9548 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.2465, allocations: 299.2 kB / 0.9551 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.2468, allocations: 225.3 kB / 0.9553 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.2468, allocations: 16.25 kB / 0.9553 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2469, allocations: 30.84 kB / 0.9554 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.2469, allocations: 0 / 0.9554 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.005583/0.2525, allocations: 2.632 MB / 0.9579 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.2525, allocations: 55.41 kB / 0.958 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.2531, allocations: 457.9 kB / 0.9584 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.2531, allocations: 29.7 kB / 0.9584 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.2533, allocations: 343.6 kB / 0.9588 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.2535, allocations: 145.9 kB / 0.9589 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.2535, allocations: 8 kB / 0.9589 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2537, allocations: 370.8 kB / 0.9593 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.254, allocations: 233 kB / 0.9595 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.2545, allocations: 406.4 kB / 0.9599 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.2554, allocations: 0.6779 MB / 0.9605 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2554, allocations: 4 kB / 0.9605 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001695/0.2571, allocations: 0.9019 MB / 0.9614 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.2572, allocations: 11.91 kB / 0.9614 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2572, allocations: 8 kB / 0.9614 GB, free: 7.438 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008055/0.258, allocations: 222.6 kB / 0.9617 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.2585, allocations: 119.8 kB / 0.9618 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005285/0.2638, allocations: 4.936 MB / 0.9666 GB, free: 1.758 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.2644, allocations: 36.03 kB / 0.9666 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.2645, allocations: 24 kB / 0.9666 GB, free: 1.699 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 (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.000359/0.2648, allocations: 221.5 kB / 0.9669 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.2649, allocations: 59.34 kB / 0.9669 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.2665, allocations: 0.774 MB / 0.9677 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2665, allocations: 4 kB / 0.9677 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2665, allocations: 4 kB / 0.9677 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.2665, allocations: 3.984 kB / 0.9677 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.269, allocations: 1.501 MB / 0.9691 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.269, allocations: 0 / 0.9691 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.2694, allocations: 71.88 kB / 0.9692 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006802/0.2701, allocations: 202.7 kB / 0.9694 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.2701, allocations: 11.98 kB / 0.9694 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004604/0.2747, allocations: 4.876 MB / 0.9742 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2748, allocations: 4 kB / 0.9742 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.2766, allocations: 1.127 MB / 0.9753 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.2769, allocations: 176.5 kB / 0.9755 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.2769, allocations: 8 kB / 0.9755 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.2773, allocations: 27.95 kB / 0.9755 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.2774, allocations: 35.91 kB / 0.9755 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.2774, allocations: 8 kB / 0.9755 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003717/0.2778, allocations: 310.9 kB / 0.9758 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2778, allocations: 0 / 0.9758 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007432/0.2785, allocations: 168 kB / 0.976 GB, free: 7.539 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 (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.0002007/0.2787, allocations: 119.7 kB / 0.9761 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.2804, allocations: 1.004 MB / 0.9771 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2804, allocations: 3.938 kB / 0.9771 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009815/0.2814, allocations: 0.6799 MB / 0.9778 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000968/0.2824, allocations: 163.9 kB / 0.9779 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.2849, allocations: 1.558 MB / 0.9794 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.2856, allocations: 0.9455 MB / 0.9804 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004118/0.286, allocations: 113 kB / 0.9805 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2861, allocations: 39.44 kB / 0.9805 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2861, allocations: 3.938 kB / 0.9805 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of Templates: time 0.01567/0.3018, allocations: 8.403 MB / 0.9887 GB, free: 10.38 MB / 0.6355 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)