Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.86/1.86, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001463/0.001462, allocations: 175.5 kB / 393.1 MB, free: 4.07 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.685/1.685, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 97.02 kB / 0.7935 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 12.75 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6574/0.6578, allocations: 121.3 MB / 1.041 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004814/0.6627, allocations: 3.884 MB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005384/0.6681, allocations: 4.748 MB / 1.049 GB, free: 51.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004583/0.6686, allocations: 10.56 kB / 1.049 GB, free: 51.06 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006589/0.6693, allocations: 168.2 kB / 1.049 GB, free: 50.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.6703, allocations: 353.4 kB / 1.05 GB, free: 50.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.671, allocations: 227.8 kB / 1.05 GB, free: 50.67 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009556/0.672, allocations: 0.8017 MB / 1.051 GB, free: 50.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.6734, allocations: 1.206 MB / 1.052 GB, free: 49.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.6738, allocations: 186.1 kB / 1.052 GB, free: 49.41 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.6742, allocations: 251.4 kB / 1.052 GB, free: 49.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.6743, allocations: 16.5 kB / 1.052 GB, free: 49.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.6751, allocations: 359.4 kB / 1.053 GB, free: 49.2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.6754, allocations: 136.4 kB / 1.053 GB, free: 49.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.6756, allocations: 228.6 kB / 1.053 GB, free: 49 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.6767, allocations: 0.8332 MB / 1.054 GB, free: 48.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6767, allocations: 4 kB / 1.054 GB, free: 48.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6767, allocations: 0 / 1.054 GB, free: 48.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.6767, allocations: 0 / 1.054 GB, free: 48.78 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001215/0.678, allocations: 0.7114 MB / 1.055 GB, free: 48.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.678, allocations: 13.22 kB / 1.055 GB, free: 48.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.6807, allocations: 0.6869 MB / 1.055 GB, free: 48.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.6815, allocations: 486.3 kB / 1.056 GB, free: 47.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.6816, allocations: 23.81 kB / 1.056 GB, free: 47.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/0.6817, allocations: 39.48 kB / 1.056 GB, free: 47.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.6833, allocations: 0.782 MB / 1.057 GB, free: 47.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.6833, allocations: 1.844 kB / 1.057 GB, free: 47.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.6834, allocations: 15.16 kB / 1.057 GB, free: 47.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.6835, allocations: 49.23 kB / 1.057 GB, free: 47.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.6854, allocations: 0.8755 MB / 1.058 GB, free: 47.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.6891, allocations: 2.872 MB / 1.06 GB, free: 45.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.6906, allocations: 0.5212 MB / 1.061 GB, free: 45.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/0.6912, allocations: 259.4 kB / 1.061 GB, free: 45.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.6914, allocations: 94.5 kB / 1.061 GB, free: 45.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.6914, allocations: 34.5 kB / 1.061 GB, free: 44.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.504e-06/0.6914, allocations: 3.062 kB / 1.061 GB, free: 44.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.01058/0.702, allocations: 3.208 MB / 1.064 GB, free: 44.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.7021, allocations: 84.31 kB / 1.064 GB, free: 44.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.7026, allocations: 419.8 kB / 1.065 GB, free: 44.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.7027, allocations: 29.7 kB / 1.065 GB, free: 44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.7029, allocations: 234 kB / 1.065 GB, free: 43.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/0.7029, allocations: 83.14 kB / 1.065 GB, free: 43.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.703, allocations: 11.03 kB / 1.065 GB, free: 43.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.7031, allocations: 353.7 kB / 1.066 GB, free: 43.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007924/0.7039, allocations: 353.5 kB / 1.066 GB, free: 43.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007786/0.7047, allocations: 454.8 kB / 1.066 GB, free: 43.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.7062, allocations: 0.7729 MB / 1.067 GB, free: 42.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.7062, allocations: 2.938 kB / 1.067 GB, free: 42.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004742/0.7109, allocations: 1.543 MB / 1.069 GB, free: 42.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-05/0.7111, allocations: 144.1 kB / 1.069 GB, free: 42.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.7111, allocations: 3.312 kB / 1.069 GB, free: 42.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003756/0.7148, allocations: 0.8566 MB / 1.07 GB, free: 42.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.7155, allocations: 133 kB / 1.07 GB, free: 42.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/0.7213, allocations: 4.666 MB / 1.074 GB, free: 39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.7222, allocations: 118.2 kB / 1.074 GB, free: 38.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.7222, allocations: 15.45 kB / 1.074 GB, free: 38.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.7222, allocations: 3.031 kB / 1.074 GB, free: 38.99 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00382/0.7261, allocations: 1.258 MB / 1.076 GB, free: 38.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7261, allocations: 6.984 kB / 1.076 GB, free: 38.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.7285, allocations: 0.5563 MB / 1.076 GB, free: 38.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.7292, allocations: 144.6 kB / 1.076 GB, free: 38.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.7323, allocations: 2.498 MB / 1.079 GB, free: 36.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007712/0.7331, allocations: 112.3 kB / 1.079 GB, free: 36.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.7332, allocations: 14.44 kB / 1.079 GB, free: 36.97 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004148/0.7336, allocations: 328.2 kB / 1.079 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.7337, allocations: 31.25 kB / 1.079 GB, free: 36.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/0.7382, allocations: 1.434 MB / 1.081 GB, free: 36.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.7383, allocations: 2.344 kB / 1.081 GB, free: 36.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.7383, allocations: 4.594 kB / 1.081 GB, free: 36.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.7383, allocations: 7.938 kB / 1.081 GB, free: 36.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005726/0.744, allocations: 2.083 MB / 1.083 GB, free: 35.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.7441, allocations: 1.344 kB / 1.083 GB, free: 35.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.7445, allocations: 82.92 kB / 1.083 GB, free: 35.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003373/0.7479, allocations: 0.7978 MB / 1.083 GB, free: 35.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.7479, allocations: 6.219 kB / 1.083 GB, free: 35.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005746/0.7537, allocations: 4.491 MB / 1.088 GB, free: 32.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.7537, allocations: 8.609 kB / 1.088 GB, free: 32.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004412/0.7582, allocations: 1.429 MB / 1.089 GB, free: 31.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.7585, allocations: 174.2 kB / 1.089 GB, free: 31.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.7586, allocations: 10.81 kB / 1.089 GB, free: 31.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.7592, allocations: 97.44 kB / 1.09 GB, free: 31.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.7594, allocations: 24.17 kB / 1.09 GB, free: 31.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.7594, allocations: 14.48 kB / 1.09 GB, free: 31.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004492/0.7599, allocations: 306.7 kB / 1.09 GB, free: 31.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7599, allocations: 0 / 1.09 GB, free: 31.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001223/0.7611, allocations: 202.7 kB / 1.09 GB, free: 31.55 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002469/0.7614, allocations: 121.2 kB / 1.09 GB, free: 31.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.7651, allocations: 1.622 MB / 1.092 GB, free: 30.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.7652, allocations: 0 / 1.092 GB, free: 30.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.7664, allocations: 0.6735 MB / 1.092 GB, free: 30.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/0.7673, allocations: 115.8 kB / 1.093 GB, free: 30.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.7695, allocations: 1.247 MB / 1.094 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.77, allocations: 0.9167 MB / 1.095 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005807/0.7706, allocations: 153.5 kB / 1.095 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.7707, allocations: 31.83 kB / 1.095 GB, free: 28.95 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/0.7707, allocations: 0 / 1.095 GB, free: 28.95 MB / 0.698 GB Notification: Performance of Templates: time 0.02766/0.7984, allocations: 12.17 MB / 1.107 GB, free: 28.32 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)