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.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.766/1.766, allocations: 291.7 MB / 306.8 MB, free: 7.668 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.000923/0.0009229, allocations: 176.2 kB / 375.4 MB, free: 5.109 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.591/1.591, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.000937/0.0009368, allocations: 99.17 kB / 0.7699 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.0005117, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6945/0.695, allocations: 118.1 MB / 1.011 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01454/0.7096, allocations: 13.23 MB / 1.024 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.7243, allocations: 9.696 MB / 1.033 GB, free: 49.76 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.7268, allocations: 51.31 kB / 1.033 GB, free: 49.74 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.7281, allocations: 279.3 kB / 1.034 GB, free: 49.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006627/0.7348, allocations: 1.464 MB / 1.035 GB, free: 48.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.7373, allocations: 0.5168 MB / 1.036 GB, free: 48.54 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005865/0.7431, allocations: 2.92 MB / 1.038 GB, free: 47.35 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003869/0.7471, allocations: 1.955 MB / 1.04 GB, free: 46.42 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003212/0.7503, allocations: 1.288 MB / 1.042 GB, free: 46.01 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.7525, allocations: 1.044 MB / 1.043 GB, free: 45.62 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.7527, allocations: 67.59 kB / 1.043 GB, free: 45.62 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.7542, allocations: 432.9 kB / 1.043 GB, free: 45.52 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005332/0.7548, allocations: 0.4895 MB / 1.044 GB, free: 45.34 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005364/0.7553, allocations: 352.6 kB / 1.044 GB, free: 45.15 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.7585, allocations: 2.129 MB / 1.046 GB, free: 44.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.7585, allocations: 0 / 1.046 GB, free: 44.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.998e-06/0.7585, allocations: 4 kB / 1.046 GB, free: 44.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.698e-05/0.7586, allocations: 0 / 1.046 GB, free: 44.69 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003825/0.7624, allocations: 1.84 MB / 1.048 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.7625, allocations: 8.062 kB / 1.048 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.7735, allocations: 2.177 MB / 1.05 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.7767, allocations: 1.215 MB / 1.051 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.7768, allocations: 85 kB / 1.051 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.7772, allocations: 119.2 kB / 1.051 GB, free: 42.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006057/0.7832, allocations: 2.684 MB / 1.054 GB, free: 41.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.962e-05/0.7833, allocations: 14 kB / 1.054 GB, free: 41.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.7835, allocations: 57.66 kB / 1.054 GB, free: 41.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006587/0.7842, allocations: 196.8 kB / 1.054 GB, free: 41.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007459/0.7916, allocations: 2.833 MB / 1.057 GB, free: 40.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/0.8061, allocations: 10.56 MB / 1.067 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005934/0.8121, allocations: 2.389 MB / 1.07 GB, free: 32.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002819/0.8149, allocations: 1.298 MB / 1.071 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.625e-05/0.815, allocations: 19.2 kB / 1.071 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.8151, allocations: 42.78 kB / 1.071 GB, free: 32.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=89): time 3.166e-06/0.8151, allocations: 0 / 1.071 GB, free: 32.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=153): time 0.05262/0.8677, allocations: 16.51 MB / 1.087 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.8678, allocations: 67.88 kB / 1.087 GB, free: 28.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.8694, allocations: 1.163 MB / 1.088 GB, free: 27.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.8696, allocations: 48.7 kB / 1.088 GB, free: 27.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.87, allocations: 0.7407 MB / 1.089 GB, free: 27.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.8705, allocations: 0.5183 MB / 1.089 GB, free: 26.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.8706, allocations: 27.03 kB / 1.09 GB, free: 26.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.8707, allocations: 373.3 kB / 1.09 GB, free: 26.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/0.8739, allocations: 1.522 MB / 1.091 GB, free: 26.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/0.8773, allocations: 1.796 MB / 1.093 GB, free: 25.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006503/0.8838, allocations: 3.403 MB / 1.096 GB, free: 23.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.8838, allocations: 7.156 kB / 1.096 GB, free: 23.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01281/0.8967, allocations: 5.291 MB / 1.102 GB, free: 22.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.8967, allocations: 11.72 kB / 1.102 GB, free: 22.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.8968, allocations: 7.156 kB / 1.102 GB, free: 22.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006708/0.9035, allocations: 1.892 MB / 1.103 GB, free: 21.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.9057, allocations: 430.2 kB / 1.104 GB, free: 21.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02745/0.9331, allocations: 22.14 MB / 1.126 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/0.9363, allocations: 314.7 kB / 1.126 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.9366, allocations: 68 kB / 1.126 GB, free: 6.121 MB / 0.7136 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001148/0.9377, allocations: 465.7 kB / 1.126 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.9382, allocations: 174 kB / 1.126 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/0.953, allocations: 5.35 MB / 1.132 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/0.9531, allocations: 21.03 kB / 1.132 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.181e-05/0.9531, allocations: 18.03 kB / 1.132 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.9532, allocations: 10.2 kB / 1.132 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/0.9718, allocations: 7.458 MB / 1.139 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.9718, allocations: 7.656 kB / 1.139 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/0.9737, allocations: 364.5 kB / 1.139 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006051/0.9797, allocations: 1.707 MB / 1.141 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/0.98, allocations: 46.91 kB / 1.141 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02893/1.009, allocations: 21.34 MB / 1.162 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.009, allocations: 4 kB / 1.162 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/1.021, allocations: 4.917 MB / 1.167 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.023, allocations: 0.4916 MB / 1.167 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/1.023, allocations: 29.5 kB / 1.167 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/1.025, allocations: 331.5 kB / 1.168 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005434/1.026, allocations: 149 kB / 1.168 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.026, allocations: 59.91 kB / 1.168 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001182/1.027, allocations: 0.7782 MB / 1.169 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.027, allocations: 0 / 1.169 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002533/1.03, allocations: 0.6523 MB / 1.169 GB, free: 5.129 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003148/1.03, allocations: 153.1 kB / 1.169 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.041, allocations: 5.176 MB / 1.174 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.041, allocations: 4 kB / 1.174 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00692/1.048, allocations: 3.367 MB / 1.178 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/1.051, allocations: 0.5096 MB / 1.178 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008881/1.06, allocations: 4.855 MB / 1.183 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.062, allocations: 1.572 MB / 1.184 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001907/1.064, allocations: 386.8 kB / 1.185 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/1.064, allocations: 111.4 kB / 1.185 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/1.064, allocations: 0 / 1.185 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of Templates: time 0.07255/1.137, allocations: 41.44 MB / 1.225 GB, free: 12.02 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)