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.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.828/1.828, allocations: 291.7 MB / 306.8 MB, free: 7.68 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.001474/0.001474, allocations: 190.8 kB / 375.4 MB, free: 5.113 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.423/1.423, allocations: 225.7 MB / 0.6538 GB, free: 13.52 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.0008973/0.0008972, allocations: 102 kB / 0.7699 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005467/0.0005468, allocations: 12 kB / 0.8956 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8975/0.898, allocations: 118.1 MB / 1.011 GB, free: 58.13 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005797/0.9039, allocations: 4.568 MB / 1.015 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004855/0.9088, allocations: 3.509 MB / 1.019 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.9092, allocations: 11.44 kB / 1.019 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008104/0.91, allocations: 211.2 kB / 1.019 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.9112, allocations: 366.3 kB / 1.019 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.9118, allocations: 185.7 kB / 1.02 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.9128, allocations: 0.7707 MB / 1.02 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.9141, allocations: 0.8126 MB / 1.021 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.9144, allocations: 204.5 kB / 1.021 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.9148, allocations: 265 kB / 1.022 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/0.9148, allocations: 21.88 kB / 1.022 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006968/0.9155, allocations: 323.1 kB / 1.022 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.9157, allocations: 140.2 kB / 1.022 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.547e-05/0.9158, allocations: 111.5 kB / 1.022 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008612/0.9166, allocations: 0.7593 MB / 1.023 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.9167, allocations: 0 / 1.023 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9167, allocations: 0 / 1.023 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.9167, allocations: 4 kB / 1.023 GB, free: 56.21 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.0014/0.9181, allocations: 0.7547 MB / 1.024 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.9181, allocations: 9.031 kB / 1.024 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.9209, allocations: 0.7145 MB / 1.024 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009812/0.9219, allocations: 0.5457 MB / 1.025 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.922, allocations: 20.91 kB / 1.025 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.9221, allocations: 37.05 kB / 1.025 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.9236, allocations: 0.8406 MB / 1.026 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.9236, allocations: 1.5 kB / 1.026 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.9237, allocations: 10.84 kB / 1.026 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002068/0.9239, allocations: 72.44 kB / 1.026 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.926, allocations: 0.9458 MB / 1.027 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/0.9298, allocations: 2.96 MB / 1.03 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.9313, allocations: 0.5681 MB / 1.03 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/0.9321, allocations: 321.7 kB / 1.03 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.835e-05/0.9322, allocations: 95.89 kB / 1.031 GB, free: 53.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.9322, allocations: 36.91 kB / 1.031 GB, free: 53.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 3.487e-06/0.9323, allocations: 0 / 1.031 GB, free: 53.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.01421/0.9465, allocations: 4.078 MB / 1.035 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.9466, allocations: 86.23 kB / 1.035 GB, free: 53.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.9473, allocations: 456.4 kB / 1.035 GB, free: 52.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.9474, allocations: 32.45 kB / 1.035 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.9475, allocations: 241.4 kB / 1.035 GB, free: 52.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.9477, allocations: 121.5 kB / 1.035 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.9477, allocations: 3.688 kB / 1.035 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9478, allocations: 354.2 kB / 1.036 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.9489, allocations: 445 kB / 1.036 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.9499, allocations: 0.5216 MB / 1.037 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.9521, allocations: 0.956 MB / 1.038 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9521, allocations: 1.312 kB / 1.038 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005635/0.9577, allocations: 1.931 MB / 1.04 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.004e-05/0.9578, allocations: 156.4 kB / 1.04 GB, free: 51.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.9578, allocations: 0 / 1.04 GB, free: 51.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004631/0.9625, allocations: 1.097 MB / 1.041 GB, free: 51.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.9631, allocations: 127.1 kB / 1.041 GB, free: 51.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009226/0.9724, allocations: 6.397 MB / 1.047 GB, free: 47.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009988/0.9734, allocations: 117.7 kB / 1.047 GB, free: 47.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.9735, allocations: 18.3 kB / 1.047 GB, free: 47.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.9735, allocations: 3.469 kB / 1.047 GB, free: 47.48 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004847/0.9783, allocations: 1.632 MB / 1.049 GB, free: 47.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.9784, allocations: 2.25 kB / 1.049 GB, free: 47.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003361/0.9817, allocations: 0.8004 MB / 1.05 GB, free: 46.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006726/0.9824, allocations: 141.9 kB / 1.05 GB, free: 46.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006742/0.9892, allocations: 5.563 MB / 1.055 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008959/0.9901, allocations: 112.9 kB / 1.055 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.9902, allocations: 20.61 kB / 1.055 GB, free: 43.3 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004147/0.9906, allocations: 339 kB / 1.056 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.9907, allocations: 42.09 kB / 1.056 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/0.9957, allocations: 1.82 MB / 1.057 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.9958, allocations: 6.844 kB / 1.057 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.9958, allocations: 1.625 kB / 1.057 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.9958, allocations: 7.281 kB / 1.058 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005994/1.002, allocations: 2.562 MB / 1.06 GB, free: 41.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.002, allocations: 4.094 kB / 1.06 GB, free: 41.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/1.002, allocations: 82.28 kB / 1.06 GB, free: 41.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003892/1.006, allocations: 1.025 MB / 1.061 GB, free: 41.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/1.006, allocations: 7.375 kB / 1.061 GB, free: 41.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007543/1.014, allocations: 6.071 MB / 1.067 GB, free: 37.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.014, allocations: 0 / 1.067 GB, free: 37.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/1.019, allocations: 1.799 MB / 1.069 GB, free: 37.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/1.019, allocations: 196.4 kB / 1.069 GB, free: 37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/1.019, allocations: 18.23 kB / 1.069 GB, free: 36.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/1.02, allocations: 93.69 kB / 1.069 GB, free: 36.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.02, allocations: 37.25 kB / 1.069 GB, free: 36.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/1.02, allocations: 14.22 kB / 1.069 GB, free: 36.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003827/1.02, allocations: 336.9 kB / 1.069 GB, free: 36.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/1.02, allocations: 0 / 1.069 GB, free: 36.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001102/1.021, allocations: 289.6 kB / 1.07 GB, free: 36.78 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003029/1.022, allocations: 156.2 kB / 1.07 GB, free: 36.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005838/1.028, allocations: 2.545 MB / 1.072 GB, free: 35.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.028, allocations: 3.938 kB / 1.072 GB, free: 35.65 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/1.03, allocations: 0.9786 MB / 1.073 GB, free: 35.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008279/1.031, allocations: 127.6 kB / 1.073 GB, free: 35.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/1.033, allocations: 1.431 MB / 1.075 GB, free: 34.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/1.033, allocations: 0.9529 MB / 1.076 GB, free: 33.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005855/1.034, allocations: 155.2 kB / 1.076 GB, free: 33.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.034, allocations: 40.95 kB / 1.076 GB, free: 33.72 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/1.034, allocations: 0 / 1.076 GB, free: 33.72 MB / 0.7136 GB Notification: Performance of Templates: time 0.02439/1.058, allocations: 16.44 MB / 1.092 GB, free: 33.06 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)