Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.001901/0.001901, allocations: 186 kB / 382.3 MB, free: 14.82 MB / 314.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.52/1.52, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.0008295/0.0008295, allocations: 99.77 kB / 0.7789 GB, free: 47.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 8 kB / 0.9058 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7476, allocations: 119.2 MB / 1.022 GB, free: 58.63 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007748/0.7554, allocations: 4.615 MB / 1.027 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007215/0.7627, allocations: 5.492 MB / 1.032 GB, free: 51.17 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004983/0.7633, allocations: 14.34 kB / 1.032 GB, free: 51.16 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.7643, allocations: 233.6 kB / 1.032 GB, free: 51.05 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.7659, allocations: 395 kB / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009215/0.7668, allocations: 247.2 kB / 1.033 GB, free: 50.71 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.7684, allocations: 0.9342 MB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.7701, allocations: 1.198 MB / 1.035 GB, free: 49.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.7705, allocations: 208.7 kB / 1.035 GB, free: 49.41 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00051/0.771, allocations: 266.8 kB / 1.036 GB, free: 49.3 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.77e-05/0.7711, allocations: 21.25 kB / 1.036 GB, free: 49.3 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.7724, allocations: 454 kB / 1.036 GB, free: 49.17 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.7726, allocations: 142.7 kB / 1.036 GB, free: 49.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.7729, allocations: 239 kB / 1.036 GB, free: 48.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.7744, allocations: 0.9504 MB / 1.037 GB, free: 48.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.7744, allocations: 0 / 1.037 GB, free: 48.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7744, allocations: 0 / 1.037 GB, free: 48.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.7744, allocations: 0 / 1.037 GB, free: 48.71 MB / 0.698 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.001609/0.776, allocations: 0.7519 MB / 1.038 GB, free: 48.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.7761, allocations: 7.125 kB / 1.038 GB, free: 48.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/0.78, allocations: 0.717 MB / 1.039 GB, free: 48.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.7814, allocations: 0.552 MB / 1.039 GB, free: 47.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.7814, allocations: 31.95 kB / 1.039 GB, free: 47.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.7815, allocations: 30.7 kB / 1.039 GB, free: 47.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.7837, allocations: 0.8404 MB / 1.04 GB, free: 47.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.7838, allocations: 3.938 kB / 1.04 GB, free: 47.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.7839, allocations: 12.19 kB / 1.04 GB, free: 47.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002865/0.7841, allocations: 72.61 kB / 1.04 GB, free: 47.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002849/0.787, allocations: 0.9388 MB / 1.041 GB, free: 47.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005042/0.7921, allocations: 2.956 MB / 1.044 GB, free: 45.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.7943, allocations: 0.5668 MB / 1.045 GB, free: 45.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.7953, allocations: 308.3 kB / 1.045 GB, free: 44.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.7955, allocations: 90.58 kB / 1.045 GB, free: 44.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.7955, allocations: 40.75 kB / 1.045 GB, free: 44.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 4.328e-06/0.7955, allocations: 2.016 kB / 1.045 GB, free: 44.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.01876/0.8143, allocations: 4.075 MB / 1.049 GB, free: 43.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.8144, allocations: 88.3 kB / 1.049 GB, free: 43.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.8151, allocations: 456.7 kB / 1.05 GB, free: 43.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.099e-05/0.8152, allocations: 33.7 kB / 1.05 GB, free: 43.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.8154, allocations: 240 kB / 1.05 GB, free: 43.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.8155, allocations: 119.6 kB / 1.05 GB, free: 43.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.8156, allocations: 11.09 kB / 1.05 GB, free: 43.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.8157, allocations: 353.1 kB / 1.05 GB, free: 42.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.8169, allocations: 439.9 kB / 1.051 GB, free: 42.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.8182, allocations: 0.5199 MB / 1.051 GB, free: 42.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.8207, allocations: 0.9622 MB / 1.052 GB, free: 42.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.8208, allocations: 0 / 1.052 GB, free: 42.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.007723/0.8285, allocations: 1.925 MB / 1.054 GB, free: 41.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.8286, allocations: 154.9 kB / 1.054 GB, free: 41.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8287, allocations: 0 / 1.054 GB, free: 41.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006279/0.8349, allocations: 1.097 MB / 1.055 GB, free: 41.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/0.8358, allocations: 128.3 kB / 1.055 GB, free: 41.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/0.8481, allocations: 6.398 MB / 1.062 GB, free: 37.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.8494, allocations: 123.5 kB / 1.062 GB, free: 37.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.8495, allocations: 11.97 kB / 1.062 GB, free: 37.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.8495, allocations: 3.156 kB / 1.062 GB, free: 37.53 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006409/0.8559, allocations: 1.639 MB / 1.063 GB, free: 37.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8559, allocations: 0 / 1.063 GB, free: 37.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004458/0.8604, allocations: 0.8018 MB / 1.064 GB, free: 37.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/0.8613, allocations: 135 kB / 1.064 GB, free: 37.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009612/0.8709, allocations: 5.576 MB / 1.07 GB, free: 33.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.8721, allocations: 107.1 kB / 1.07 GB, free: 33.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.811e-05/0.8722, allocations: 19.52 kB / 1.07 GB, free: 33.33 MB / 0.698 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005643/0.8728, allocations: 343.6 kB / 1.07 GB, free: 33.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.873, allocations: 44.03 kB / 1.07 GB, free: 33.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007137/0.8801, allocations: 1.822 MB / 1.072 GB, free: 32.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.8802, allocations: 6.469 kB / 1.072 GB, free: 32.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8802, allocations: 0 / 1.072 GB, free: 32.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.8802, allocations: 7.5 kB / 1.072 GB, free: 32.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/0.8883, allocations: 2.573 MB / 1.074 GB, free: 31.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.8883, allocations: 2.531 kB / 1.074 GB, free: 31.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.8888, allocations: 85.66 kB / 1.075 GB, free: 31.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005523/0.8944, allocations: 1.018 MB / 1.076 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/0.8944, allocations: 7.219 kB / 1.076 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.9054, allocations: 6.062 MB / 1.081 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9055, allocations: 3.938 kB / 1.081 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007007/0.9125, allocations: 1.794 MB / 1.083 GB, free: 27.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.9129, allocations: 203.1 kB / 1.083 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.9131, allocations: 15.44 kB / 1.083 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008412/0.9139, allocations: 95.2 kB / 1.084 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.9142, allocations: 41.78 kB / 1.084 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.9142, allocations: 13.72 kB / 1.084 GB, free: 26.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005177/0.9148, allocations: 334.4 kB / 1.084 GB, free: 26.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9148, allocations: 0 / 1.084 GB, free: 26.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001683/0.9165, allocations: 282.2 kB / 1.084 GB, free: 26.79 MB / 0.698 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004356/0.9169, allocations: 160.5 kB / 1.084 GB, free: 26.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009116/0.926, allocations: 2.54 MB / 1.087 GB, free: 25.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.9261, allocations: 0 / 1.087 GB, free: 25.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003327/0.9294, allocations: 0.9905 MB / 1.088 GB, free: 25.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.9306, allocations: 131.5 kB / 1.088 GB, free: 25.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.9335, allocations: 1.465 MB / 1.089 GB, free: 24.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.9341, allocations: 0.9526 MB / 1.09 GB, free: 23.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008338/0.935, allocations: 154.1 kB / 1.09 GB, free: 23.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.9351, allocations: 41.8 kB / 1.09 GB, free: 23.67 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/0.9352, allocations: 0 / 1.09 GB, free: 23.67 MB / 0.698 GB Notification: Performance of Templates: time 0.04589/0.9811, allocations: 16.77 MB / 1.107 GB, free: 21.37 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)