Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.886/1.886, allocations: 291.7 MB / 306.8 MB, free: 7.688 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.001147/0.001147, allocations: 181.5 kB / 375.4 MB, free: 5.098 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.567/1.567, allocations: 225.7 MB / 0.6538 GB, free: 13.58 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.0008857/0.0008857, allocations: 106.1 kB / 0.7699 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004196, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5896, allocations: 118.1 MB / 1.011 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004624/0.5943, allocations: 3.85 MB / 1.015 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004038/0.5983, allocations: 3.007 MB / 1.018 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.5986, allocations: 9.406 kB / 1.018 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.5991, allocations: 154.6 kB / 1.018 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007658/0.5999, allocations: 307.1 kB / 1.018 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.6003, allocations: 177.3 kB / 1.018 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.6009, allocations: 0.6592 MB / 1.019 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009956/0.6019, allocations: 0.8201 MB / 1.02 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.6022, allocations: 186 kB / 1.02 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.6025, allocations: 238.6 kB / 1.02 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/0.6025, allocations: 18.78 kB / 1.02 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004401/0.603, allocations: 230 kB / 1.02 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.6031, allocations: 138.7 kB / 1.02 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.6032, allocations: 100.2 kB / 1.021 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.6037, allocations: 0.6787 MB / 1.021 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6037, allocations: 0 / 1.021 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6037, allocations: 1.219 kB / 1.021 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.6037, allocations: 1.062 kB / 1.021 GB, free: 55.98 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009461/0.6047, allocations: 0.7147 MB / 1.022 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.6047, allocations: 11.03 kB / 1.022 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/0.6072, allocations: 0.689 MB / 1.023 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.6079, allocations: 495.6 kB / 1.023 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.6079, allocations: 22.41 kB / 1.023 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.608, allocations: 33.8 kB / 1.023 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.6093, allocations: 0.7839 MB / 1.024 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.6093, allocations: 3.031 kB / 1.024 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.6094, allocations: 16.83 kB / 1.024 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.6095, allocations: 53.73 kB / 1.024 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.6113, allocations: 0.8723 MB / 1.025 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.6149, allocations: 2.869 MB / 1.028 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.6165, allocations: 0.5133 MB / 1.028 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006669/0.6172, allocations: 265.9 kB / 1.028 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.521e-05/0.6173, allocations: 89.11 kB / 1.028 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.6173, allocations: 36.72 kB / 1.028 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.6173, allocations: 0 / 1.028 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.01046/0.6278, allocations: 3.213 MB / 1.032 GB, free: 52.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.6279, allocations: 83.67 kB / 1.032 GB, free: 52.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.6284, allocations: 421.3 kB / 1.032 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.6284, allocations: 30.64 kB / 1.032 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.6285, allocations: 237.8 kB / 1.032 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.6286, allocations: 86.64 kB / 1.032 GB, free: 52.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.6286, allocations: 6.438 kB / 1.032 GB, free: 52.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.6287, allocations: 346.8 kB / 1.033 GB, free: 52.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007989/0.6295, allocations: 364 kB / 1.033 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008482/0.6304, allocations: 450.7 kB / 1.034 GB, free: 52.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.6321, allocations: 0.7737 MB / 1.034 GB, free: 51.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6322, allocations: 1.156 kB / 1.034 GB, free: 51.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005196/0.6374, allocations: 1.54 MB / 1.036 GB, free: 51.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.6375, allocations: 151.4 kB / 1.036 GB, free: 51.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.6375, allocations: 2.562 kB / 1.036 GB, free: 51.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003742/0.6412, allocations: 0.8491 MB / 1.037 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.6419, allocations: 134 kB / 1.037 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006533/0.6484, allocations: 4.664 MB / 1.041 GB, free: 49.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.6493, allocations: 127.3 kB / 1.042 GB, free: 49.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.6493, allocations: 15.08 kB / 1.042 GB, free: 49.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.6493, allocations: 5.125 kB / 1.042 GB, free: 49.12 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003904/0.6533, allocations: 1.257 MB / 1.043 GB, free: 48.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6533, allocations: 3.625 kB / 1.043 GB, free: 48.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/0.6558, allocations: 0.5566 MB / 1.043 GB, free: 48.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.6564, allocations: 145.1 kB / 1.044 GB, free: 48.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.6595, allocations: 2.51 MB / 1.046 GB, free: 47.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/0.6602, allocations: 109.4 kB / 1.046 GB, free: 47.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.6603, allocations: 19.52 kB / 1.046 GB, free: 47.12 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%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003598/0.6606, allocations: 327.9 kB / 1.046 GB, free: 46.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.6607, allocations: 29.88 kB / 1.046 GB, free: 46.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/0.665, allocations: 1.419 MB / 1.048 GB, free: 46.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6651, allocations: 5.5 kB / 1.048 GB, free: 46.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6651, allocations: 0 / 1.048 GB, free: 46.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6651, allocations: 6.609 kB / 1.048 GB, free: 46.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005069/0.6701, allocations: 2.09 MB / 1.05 GB, free: 45.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6702, allocations: 3.406 kB / 1.05 GB, free: 45.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.6706, allocations: 85.09 kB / 1.05 GB, free: 45.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/0.6737, allocations: 0.7929 MB / 1.051 GB, free: 45.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.6737, allocations: 10.92 kB / 1.051 GB, free: 45.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004543/0.6783, allocations: 4.482 MB / 1.055 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6783, allocations: 3.062 kB / 1.055 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003919/0.6822, allocations: 1.439 MB / 1.057 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.6824, allocations: 167.8 kB / 1.057 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/0.6825, allocations: 15.12 kB / 1.057 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.683, allocations: 95.08 kB / 1.057 GB, free: 41.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6832, allocations: 29.69 kB / 1.057 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.6832, allocations: 6.719 kB / 1.057 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003024/0.6835, allocations: 311 kB / 1.057 GB, free: 41.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6835, allocations: 0 / 1.057 GB, free: 41.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007957/0.6843, allocations: 205.4 kB / 1.057 GB, free: 41.73 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%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.6845, allocations: 123.2 kB / 1.057 GB, free: 41.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00318/0.6877, allocations: 1.637 MB / 1.059 GB, free: 40.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6877, allocations: 0 / 1.059 GB, free: 40.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.6887, allocations: 0.6658 MB / 1.06 GB, free: 40.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.6894, allocations: 116.1 kB / 1.06 GB, free: 40.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.691, allocations: 1.215 MB / 1.061 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.6913, allocations: 0.9108 MB / 1.062 GB, free: 39.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005051/0.6918, allocations: 156.8 kB / 1.062 GB, free: 39.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.692, allocations: 40.69 kB / 1.062 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/0.692, allocations: 0 / 1.062 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of Templates: time 0.01493/0.7069, allocations: 11.93 MB / 1.074 GB, free: 38.64 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)