Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.749/1.749, allocations: 291.7 MB / 306.8 MB, free: 7.695 MB / 234.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.001316/0.001317, allocations: 189.5 kB / 375.4 MB, free: 5.152 MB / 298.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.538/1.538, allocations: 225.7 MB / 0.6538 GB, free: 13.71 MB / 490.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.0008838/0.0008838, allocations: 103.2 kB / 0.7699 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 8.625 kB / 0.8956 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7739, allocations: 118.1 MB / 1.011 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005414/0.7794, allocations: 4.499 MB / 1.015 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004194/0.7836, allocations: 3.103 MB / 1.018 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002623/0.7839, allocations: 8.25 kB / 1.018 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005385/0.7844, allocations: 156.4 kB / 1.018 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007891/0.7852, allocations: 308.3 kB / 1.019 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.7858, allocations: 189.4 kB / 1.019 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007365/0.7865, allocations: 0.7123 MB / 1.02 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.7876, allocations: 0.8196 MB / 1.02 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.7879, allocations: 195 kB / 1.021 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.7882, allocations: 256.4 kB / 1.021 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.7883, allocations: 19.03 kB / 1.021 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.7888, allocations: 234.3 kB / 1.021 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.789, allocations: 143.3 kB / 1.021 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.789, allocations: 105.9 kB / 1.021 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.7897, allocations: 0.7147 MB / 1.022 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7897, allocations: 0.8438 kB / 1.022 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7897, allocations: 0 / 1.022 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7897, allocations: 0 / 1.022 GB, free: 55.72 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001141/0.7909, allocations: 0.7459 MB / 1.023 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.7909, allocations: 9.031 kB / 1.023 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/0.7935, allocations: 0.6959 MB / 1.023 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.7943, allocations: 498.6 kB / 1.024 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.7944, allocations: 21.28 kB / 1.024 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.061e-05/0.7944, allocations: 35.84 kB / 1.024 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.796, allocations: 0.8419 MB / 1.025 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.796, allocations: 0 / 1.025 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.796, allocations: 14.89 kB / 1.025 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/0.7963, allocations: 70.77 kB / 1.025 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.7982, allocations: 0.946 MB / 1.026 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.8018, allocations: 2.919 MB / 1.029 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.8033, allocations: 0.5628 MB / 1.029 GB, free: 53.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006794/0.804, allocations: 320.2 kB / 1.03 GB, free: 53.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.414e-05/0.8041, allocations: 88.73 kB / 1.03 GB, free: 53.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.8042, allocations: 37.34 kB / 1.03 GB, free: 53.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 2.455e-06/0.8042, allocations: 0 / 1.03 GB, free: 53.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.01196/0.8161, allocations: 3.66 MB / 1.033 GB, free: 52.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.8162, allocations: 84.55 kB / 1.033 GB, free: 52.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.8168, allocations: 415.3 kB / 1.034 GB, free: 52.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.8168, allocations: 31.45 kB / 1.034 GB, free: 52.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.817, allocations: 235.3 kB / 1.034 GB, free: 52.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.857e-05/0.8171, allocations: 105.1 kB / 1.034 GB, free: 52.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.8171, allocations: 13.22 kB / 1.034 GB, free: 52.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.8172, allocations: 348.9 kB / 1.034 GB, free: 51.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009669/0.8182, allocations: 398.5 kB / 1.035 GB, free: 51.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009848/0.8192, allocations: 484.5 kB / 1.035 GB, free: 51.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.8211, allocations: 0.8606 MB / 1.036 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8211, allocations: 5.125 kB / 1.036 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00525/0.8264, allocations: 1.726 MB / 1.038 GB, free: 51.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.934e-05/0.8265, allocations: 147.8 kB / 1.038 GB, free: 51.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.8265, allocations: 2.25 kB / 1.038 GB, free: 51.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004139/0.8306, allocations: 0.9812 MB / 1.039 GB, free: 51.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.8313, allocations: 132.9 kB / 1.039 GB, free: 51.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007253/0.8386, allocations: 6.407 MB / 1.045 GB, free: 46.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008457/0.8394, allocations: 109.9 kB / 1.045 GB, free: 46.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.8395, allocations: 18.72 kB / 1.045 GB, free: 46.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.8395, allocations: 4.062 kB / 1.045 GB, free: 46.72 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004481/0.844, allocations: 1.665 MB / 1.047 GB, free: 46.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.844, allocations: 3.234 kB / 1.047 GB, free: 46.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/0.8469, allocations: 0.7287 MB / 1.048 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.8475, allocations: 137.8 kB / 1.048 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/0.8524, allocations: 5.44 MB / 1.053 GB, free: 41.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.8532, allocations: 110 kB / 1.053 GB, free: 41.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.8532, allocations: 17.42 kB / 1.053 GB, free: 41.62 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004095/0.8537, allocations: 333.6 kB / 1.054 GB, free: 41.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.8537, allocations: 44 kB / 1.054 GB, free: 41.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/0.8584, allocations: 1.62 MB / 1.055 GB, free: 40.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.8584, allocations: 3.312 kB / 1.055 GB, free: 40.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8584, allocations: 0 / 1.055 GB, free: 40.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8584, allocations: 9 kB / 1.055 GB, free: 40.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/0.8636, allocations: 2.326 MB / 1.058 GB, free: 40.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.8637, allocations: 0 / 1.058 GB, free: 40.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.8641, allocations: 83.5 kB / 1.058 GB, free: 40.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003618/0.8677, allocations: 0.9174 MB / 1.059 GB, free: 39.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.8678, allocations: 10.53 kB / 1.059 GB, free: 39.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.8739, allocations: 6.234 MB / 1.065 GB, free: 35.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8739, allocations: 0 / 1.065 GB, free: 35.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004293/0.8782, allocations: 1.634 MB / 1.066 GB, free: 34.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.8786, allocations: 186.2 kB / 1.066 GB, free: 34.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.8787, allocations: 13.59 kB / 1.066 GB, free: 34.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006002/0.8793, allocations: 90.66 kB / 1.066 GB, free: 34.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.8795, allocations: 38.64 kB / 1.067 GB, free: 34.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.8796, allocations: 6.594 kB / 1.067 GB, free: 34.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004215/0.88, allocations: 314.7 kB / 1.067 GB, free: 34.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/0.88, allocations: 0 / 1.067 GB, free: 34.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001131/0.8811, allocations: 240.9 kB / 1.067 GB, free: 34.46 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002507/0.8814, allocations: 123.8 kB / 1.067 GB, free: 34.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004206/0.8856, allocations: 2.258 MB / 1.069 GB, free: 33.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8856, allocations: 3.219 kB / 1.069 GB, free: 33.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.8869, allocations: 0.8195 MB / 1.07 GB, free: 32.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/0.8877, allocations: 118.1 kB / 1.07 GB, free: 32.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.8895, allocations: 1.32 MB / 1.072 GB, free: 31.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.8899, allocations: 0.9292 MB / 1.072 GB, free: 31.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000526/0.8904, allocations: 172.7 kB / 1.073 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.8905, allocations: 31.78 kB / 1.073 GB, free: 31.16 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.8906, allocations: 0 / 1.073 GB, free: 31.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.01862/0.9092, allocations: 13.91 MB / 1.086 GB, free: 30.59 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)