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.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") 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.63/1.63, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.001136/0.001136, allocations: 187.6 kB / 330.8 MB, free: 448 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.632/1.632, allocations: 225.7 MB / 0.6016 GB, free: 15.88 MB / 442.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.0008291/0.0008291, allocations: 83.73 kB / 0.709 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 9.828 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2146, allocations: 109.2 MB / 0.9328 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006006/0.2207, allocations: 6.093 MB / 0.9387 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004614/0.2253, allocations: 4.338 MB / 0.943 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007518/0.2261, allocations: 23.81 kB / 0.943 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005675/0.2267, allocations: 138.8 kB / 0.9431 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.2281, allocations: 473.7 kB / 0.9436 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2294, allocations: 407.3 kB / 0.9439 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001529/0.2309, allocations: 1.591 MB / 0.9455 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.2327, allocations: 1.531 MB / 0.947 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007786/0.2335, allocations: 406.2 kB / 0.9474 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.2343, allocations: 498 kB / 0.9479 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.2345, allocations: 36 kB / 0.9479 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009934/0.2355, allocations: 423.1 kB / 0.9483 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003096/0.2359, allocations: 267.2 kB / 0.9485 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004998/0.2364, allocations: 431.4 kB / 0.949 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.2376, allocations: 1.184 MB / 0.9501 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2376, allocations: 0 / 0.9501 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2376, allocations: 0 / 0.9501 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.386e-05/0.2376, allocations: 0 / 0.9501 GB, free: 5.73 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001866/0.2395, allocations: 1.013 MB / 0.9511 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2396, allocations: 13.11 kB / 0.9511 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.2411, allocations: 251.4 kB / 0.9514 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/0.242, allocations: 0.553 MB / 0.9519 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.2421, allocations: 53.66 kB / 0.9519 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.2422, allocations: 64.36 kB / 0.952 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.2437, allocations: 1.077 MB / 0.9531 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.2437, allocations: 7.938 kB / 0.9531 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/0.2438, allocations: 35.98 kB / 0.9531 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.2439, allocations: 81.25 kB / 0.9532 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.245, allocations: 0.7465 MB / 0.9539 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00544/0.2504, allocations: 5.901 MB / 0.9597 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.2515, allocations: 0.5593 MB / 0.9602 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.252, allocations: 322 kB / 0.9605 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.252, allocations: 8.375 kB / 0.9605 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.2521, allocations: 43 kB / 0.9606 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.955e-06/0.2521, allocations: 0 / 0.9606 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.00398/0.2561, allocations: 1.982 MB / 0.9625 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2561, allocations: 67.77 kB / 0.9626 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007275/0.2569, allocations: 0.5548 MB / 0.9631 GB, free: 7.641 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.2569, allocations: 33.7 kB / 0.9632 GB, free: 7.602 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.2572, allocations: 418.9 kB / 0.9636 GB, free: 7.188 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.2574, allocations: 165.6 kB / 0.9637 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.2575, allocations: 19.94 kB / 0.9637 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.2577, allocations: 382.7 kB / 0.9641 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.2581, allocations: 269.8 kB / 0.9643 GB, free: 6.352 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.2587, allocations: 493 kB / 0.9648 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2597, allocations: 0.8054 MB / 0.9656 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2597, allocations: 4 kB / 0.9656 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001814/0.2615, allocations: 1.079 MB / 0.9667 GB, free: 3.777 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.2616, allocations: 8 kB / 0.9667 GB, free: 3.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.2616, allocations: 8 kB / 0.9667 GB, free: 3.762 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008644/0.2625, allocations: 287.8 kB / 0.967 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.263, allocations: 123.8 kB / 0.9671 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006178/0.2692, allocations: 6.606 MB / 0.9735 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/0.2698, allocations: 35.97 kB / 0.9736 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.643e-05/0.2699, allocations: 28 kB / 0.9736 GB, free: 12.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0004186/0.2703, allocations: 258.7 kB / 0.9738 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.2705, allocations: 79.09 kB / 0.9739 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.2722, allocations: 0.8848 MB / 0.9748 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2722, allocations: 4 kB / 0.9748 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.2722, allocations: 4 kB / 0.9748 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.2722, allocations: 3.984 kB / 0.9748 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.275, allocations: 1.717 MB / 0.9765 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.275, allocations: 3.938 kB / 0.9765 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.2753, allocations: 63.89 kB / 0.9765 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007479/0.2761, allocations: 263.2 kB / 0.9768 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.2761, allocations: 12 kB / 0.9768 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005843/0.2819, allocations: 6.587 MB / 0.9832 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.282, allocations: 0 / 0.9832 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.2836, allocations: 0.9874 MB / 0.9842 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/0.284, allocations: 192.2 kB / 0.9844 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.2841, allocations: 16.12 kB / 0.9844 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.2845, allocations: 31.97 kB / 0.9844 GB, free: 324 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.2846, allocations: 43.88 kB / 0.9845 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.2847, allocations: 16 kB / 0.9845 GB, free: 264 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004682/0.2852, allocations: 383.1 kB / 0.9848 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2852, allocations: 0 / 0.9848 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008338/0.286, allocations: 228 kB / 0.9851 GB, free: 15.67 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/0.2862, allocations: 128 kB / 0.9852 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.2882, allocations: 1.268 MB / 0.9864 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.2882, allocations: 0 / 0.9864 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.2894, allocations: 0.8971 MB / 0.9873 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.2905, allocations: 202 kB / 0.9875 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.2929, allocations: 1.675 MB / 0.9891 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.2936, allocations: 1.012 MB / 0.9901 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004415/0.294, allocations: 126 kB / 0.9902 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2942, allocations: 39.44 kB / 0.9903 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.2942, allocations: 0 / 0.9903 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.01851/0.3127, allocations: 10.63 MB / 1.001 GB, free: 15.54 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)