Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") 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.693/1.693, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.001238/0.001238, allocations: 189.3 kB / 382.3 MB, free: 14.83 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.558/1.558, allocations: 225.7 MB / 0.6617 GB, free: 7.242 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.000967/0.0009669, allocations: 86.53 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 12 kB / 0.9058 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8372, allocations: 119.2 MB / 1.022 GB, free: 58.08 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003761/0.841, allocations: 2.526 MB / 1.025 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.844, allocations: 2.856 MB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.8442, allocations: 6.469 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.8444, allocations: 28.42 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.8449, allocations: 170.4 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.8456, allocations: 208.6 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.846, allocations: 438.4 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007503/0.8468, allocations: 0.5916 MB / 1.029 GB, free: 53.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.847, allocations: 110.6 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.8473, allocations: 137.8 kB / 1.029 GB, free: 53.22 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.8473, allocations: 10.56 kB / 1.029 GB, free: 53.22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.8478, allocations: 297.4 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-05/0.8479, allocations: 71.52 kB / 1.03 GB, free: 53.1 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.848, allocations: 127.2 kB / 1.03 GB, free: 53.01 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.8485, allocations: 419.1 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8486, allocations: 0.6562 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8486, allocations: 1.781 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.8486, allocations: 0 / 1.03 GB, free: 52.89 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007754/0.8494, allocations: 0.5007 MB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.8494, allocations: 9.969 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006364/0.85, allocations: 95.08 kB / 1.031 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.8503, allocations: 258.1 kB / 1.031 GB, free: 52.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.8504, allocations: 13.34 kB / 1.031 GB, free: 52.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.8504, allocations: 21.45 kB / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/0.851, allocations: 383.8 kB / 1.031 GB, free: 51.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.8511, allocations: 3.594 kB / 1.031 GB, free: 51.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.8511, allocations: 10.84 kB / 1.031 GB, free: 51.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-05/0.8512, allocations: 20.47 kB / 1.031 GB, free: 51.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.8518, allocations: 339 kB / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.8537, allocations: 1.731 MB / 1.033 GB, free: 50.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.8545, allocations: 339.1 kB / 1.034 GB, free: 50.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.8548, allocations: 156.9 kB / 1.034 GB, free: 50.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.8549, allocations: 83.89 kB / 1.034 GB, free: 50.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.855, allocations: 40.64 kB / 1.034 GB, free: 50.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.936e-06/0.855, allocations: 0 / 1.034 GB, free: 50.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.001647/0.8567, allocations: 0.6111 MB / 1.035 GB, free: 49.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.8567, allocations: 90.89 kB / 1.035 GB, free: 49.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.8569, allocations: 206.8 kB / 1.035 GB, free: 49.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.857, allocations: 29.7 kB / 1.035 GB, free: 49.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.8571, allocations: 157.2 kB / 1.035 GB, free: 49.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.8571, allocations: 70.17 kB / 1.035 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.8571, allocations: 5.688 kB / 1.035 GB, free: 49.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.8572, allocations: 334.1 kB / 1.035 GB, free: 48.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.8575, allocations: 135.2 kB / 1.035 GB, free: 48.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.8578, allocations: 214.6 kB / 1.036 GB, free: 48.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.8583, allocations: 374.9 kB / 1.036 GB, free: 48.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8583, allocations: 4 kB / 1.036 GB, free: 48.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008009/0.8592, allocations: 441.5 kB / 1.036 GB, free: 48.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.61e-05/0.8593, allocations: 167.1 kB / 1.037 GB, free: 48.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8593, allocations: 2.906 kB / 1.037 GB, free: 48.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.8595, allocations: 43.64 kB / 1.037 GB, free: 48.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.8598, allocations: 78.61 kB / 1.037 GB, free: 48.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.861, allocations: 1.499 MB / 1.038 GB, free: 46.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.8612, allocations: 32.55 kB / 1.038 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.8613, allocations: 11.19 kB / 1.038 GB, free: 46.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.8613, allocations: 5.531 kB / 1.038 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006414/0.8619, allocations: 369.6 kB / 1.039 GB, free: 46.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.862, allocations: 7.969 kB / 1.039 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.8621, allocations: 42.62 kB / 1.039 GB, free: 46.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.8624, allocations: 70.08 kB / 1.039 GB, free: 46.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.8634, allocations: 1.479 MB / 1.04 GB, free: 45.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.8636, allocations: 28.72 kB / 1.04 GB, free: 45.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.8637, allocations: 16.61 kB / 1.04 GB, free: 45.14 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.8639, allocations: 239.1 kB / 1.04 GB, free: 44.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.864, allocations: 21.27 kB / 1.04 GB, free: 44.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/0.8647, allocations: 364.6 kB / 1.041 GB, free: 44.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8647, allocations: 1.594 kB / 1.041 GB, free: 44.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8648, allocations: 6.656 kB / 1.041 GB, free: 44.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.8648, allocations: 3.938 kB / 1.041 GB, free: 44.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.8664, allocations: 0.9748 MB / 1.042 GB, free: 44.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.8664, allocations: 4.344 kB / 1.042 GB, free: 44.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.8666, allocations: 45.25 kB / 1.042 GB, free: 44.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.8668, allocations: 41.88 kB / 1.042 GB, free: 44.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.8668, allocations: 7.953 kB / 1.042 GB, free: 44.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008992/0.8677, allocations: 1.402 MB / 1.043 GB, free: 42.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.8677, allocations: 6.438 kB / 1.043 GB, free: 42.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.8684, allocations: 0.5399 MB / 1.044 GB, free: 42.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8685, allocations: 130.2 kB / 1.044 GB, free: 42.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.8685, allocations: 12.88 kB / 1.044 GB, free: 42.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.8688, allocations: 26.42 kB / 1.044 GB, free: 42.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.8689, allocations: 21.23 kB / 1.044 GB, free: 42.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.8689, allocations: 6.969 kB / 1.044 GB, free: 42.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001497/0.869, allocations: 148.2 kB / 1.044 GB, free: 42.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.082e-06/0.869, allocations: 0 / 1.044 GB, free: 42.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006103/0.8697, allocations: 113 kB / 1.044 GB, free: 42.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001934/0.8699, allocations: 122.2 kB / 1.044 GB, free: 42.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.8712, allocations: 0.7408 MB / 1.045 GB, free: 41.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8712, allocations: 0 / 1.045 GB, free: 41.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.8716, allocations: 277.2 kB / 1.045 GB, free: 41.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.8721, allocations: 33.84 kB / 1.045 GB, free: 41.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.8731, allocations: 0.6627 MB / 1.046 GB, free: 41.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.8734, allocations: 0.7699 MB / 1.047 GB, free: 40.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002547/0.8736, allocations: 90.25 kB / 1.047 GB, free: 40.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.8737, allocations: 20.25 kB / 1.047 GB, free: 40.31 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.8737, allocations: 0 / 1.047 GB, free: 40.31 MB / 0.698 GB Notification: Performance of Templates: time 0.007326/0.881, allocations: 3.055 MB / 1.05 GB, free: 40.14 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)