Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.47/2.47, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001344/0.001343, allocations: 185.9 kB / 329.5 MB, free: 1.148 MB / 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 2.659/2.659, allocations: 225.6 MB / 0.6001 GB, free: 2.234 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.000951/0.0009509, allocations: 95.75 kB / 0.7074 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000514/0.0005143, allocations: 11.41 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2219, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01708/0.239, allocations: 12.58 MB / 0.9431 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.2558, allocations: 8.825 MB / 0.9517 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.2574, allocations: 51.62 kB / 0.9517 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009816/0.2585, allocations: 269.8 kB / 0.952 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005116/0.2636, allocations: 1.272 MB / 0.9532 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.2661, allocations: 0.5145 MB / 0.9537 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004773/0.2709, allocations: 2.696 MB / 0.9564 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005381/0.2763, allocations: 1.884 MB / 0.9582 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.2788, allocations: 0.8442 MB / 0.959 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.2814, allocations: 1.02 MB / 0.96 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003952/0.2818, allocations: 72 kB / 0.9601 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.2836, allocations: 447.4 kB / 0.9605 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008073/0.2844, allocations: 0.5023 MB / 0.961 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.285, allocations: 344.8 kB / 0.9613 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.2885, allocations: 2.131 MB / 0.9634 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2885, allocations: 0 / 0.9634 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2886, allocations: 0 / 0.9634 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.112e-05/0.2886, allocations: 0 / 0.9634 GB, free: 7.559 MB / 0.6042 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.005408/0.294, allocations: 1.828 MB / 0.9652 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2941, allocations: 12.03 kB / 0.9652 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02238/0.3165, allocations: 2.148 MB / 0.9673 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/0.3207, allocations: 1.159 MB / 0.9684 GB, free: 2.293 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.3209, allocations: 86.73 kB / 0.9685 GB, free: 2.207 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007869/0.3217, allocations: 120.1 kB / 0.9686 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.3339, allocations: 2.695 MB / 0.9713 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.02e-05/0.334, allocations: 8 kB / 0.9713 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003071/0.3343, allocations: 55.98 kB / 0.9713 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001153/0.3355, allocations: 182.1 kB / 0.9715 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.3505, allocations: 2.846 MB / 0.9743 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03253/0.3831, allocations: 10.57 MB / 0.9846 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/0.3967, allocations: 2.568 MB / 0.9871 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006416/0.4032, allocations: 1.319 MB / 0.9884 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.4034, allocations: 9 kB / 0.9884 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.4034, allocations: 39.56 kB / 0.9884 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.4035, allocations: 0 / 0.9884 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131): time 0.1461/0.5495, allocations: 13.45 MB / 1.002 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.5497, allocations: 64.72 kB / 1.002 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.552, allocations: 1.113 MB / 1.003 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003925/0.5525, allocations: 49.7 kB / 1.003 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000853/0.5533, allocations: 0.7116 MB / 1.003 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008347/0.5542, allocations: 453.5 kB / 1.004 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.5544, allocations: 24 kB / 1.004 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.5547, allocations: 361.9 kB / 1.004 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00645/0.5611, allocations: 1.358 MB / 1.006 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006795/0.568, allocations: 1.618 MB / 1.007 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006814/0.5748, allocations: 1.458 MB / 1.009 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.5749, allocations: 0 / 1.009 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.029/0.6039, allocations: 4.474 MB / 1.013 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.604, allocations: 8 kB / 1.013 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.604, allocations: 8 kB / 1.013 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009683/0.6137, allocations: 1.424 MB / 1.014 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/0.6178, allocations: 447.2 kB / 1.015 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7696/1.387, allocations: 24.53 MB / 1.039 GB, free: 88.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006671/1.394, allocations: 316.8 kB / 1.039 GB, free: 88.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000597/1.395, allocations: 59.41 kB / 1.039 GB, free: 88.84 MB / 0.6667 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002243/1.397, allocations: 438.8 kB / 1.04 GB, free: 88.58 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008926/1.398, allocations: 166.7 kB / 1.04 GB, free: 88.58 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03209/1.43, allocations: 4.483 MB / 1.044 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/1.43, allocations: 13.16 kB / 1.044 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001131/1.43, allocations: 13.69 kB / 1.044 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.848e-05/1.43, allocations: 6.469 kB / 1.044 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03967/1.47, allocations: 6.81 MB / 1.051 GB, free: 84.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/1.47, allocations: 6.906 kB / 1.051 GB, free: 84.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005027/1.475, allocations: 396.5 kB / 1.051 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01298/1.488, allocations: 1.293 MB / 1.052 GB, free: 84.36 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005385/1.489, allocations: 38.19 kB / 1.052 GB, free: 84.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04976/1.539, allocations: 23.51 MB / 1.075 GB, free: 64.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/1.539, allocations: 8.156 kB / 1.075 GB, free: 64.63 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02838/1.567, allocations: 4.23 MB / 1.08 GB, free: 63.13 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002091/1.569, allocations: 459.3 kB / 1.08 GB, free: 62.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008821/1.57, allocations: 31.84 kB / 1.08 GB, free: 62.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006048/1.576, allocations: 316.9 kB / 1.08 GB, free: 62.81 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008891/1.577, allocations: 128.5 kB / 1.08 GB, free: 62.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003508/1.578, allocations: 46.3 kB / 1.08 GB, free: 62.77 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002115/1.58, allocations: 0.7397 MB / 1.081 GB, free: 62.47 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.365e-05/1.58, allocations: 3.969 kB / 1.081 GB, free: 62.47 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004824/1.585, allocations: 0.5668 MB / 1.082 GB, free: 62.41 MB / 0.6667 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007367/1.585, allocations: 147.3 kB / 1.082 GB, free: 62.29 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02429/1.61, allocations: 5.139 MB / 1.087 GB, free: 59.05 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/1.61, allocations: 5.406 kB / 1.087 GB, free: 59.05 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.01668/1.627, allocations: 3.509 MB / 1.09 GB, free: 56.49 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006666/1.633, allocations: 0.508 MB / 1.091 GB, free: 56.24 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/1.655, allocations: 4.516 MB / 1.095 GB, free: 53.43 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002745/1.658, allocations: 1.477 MB / 1.097 GB, free: 52.36 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004486/1.662, allocations: 430.1 kB / 1.097 GB, free: 52.14 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.664, allocations: 112.9 kB / 1.097 GB, free: 52.11 MB / 0.6667 GB Notification: Performance of SimCode: time 2.184e-06/1.664, allocations: 0 / 1.097 GB, free: 52.11 MB / 0.6667 GB Notification: Performance of Templates: time 0.1137/1.777, allocations: 36.15 MB / 1.133 GB, free: 18.92 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)