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.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.052/2.052, allocations: 291.7 MB / 306.8 MB, free: 7.703 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.001228/0.001229, allocations: 184.2 kB / 375.4 MB, free: 5.109 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.487/1.487, allocations: 225.7 MB / 0.6538 GB, free: 13.51 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.0008443/0.0008446, allocations: 105.8 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004441, allocations: 10.22 kB / 0.8956 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6482, allocations: 118.1 MB / 1.011 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002885/0.6512, allocations: 2.503 MB / 1.013 GB, free: 57.97 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.6533, allocations: 1.52 MB / 1.015 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.6534, allocations: 10.22 kB / 1.015 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.6536, allocations: 30.84 kB / 1.015 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.654, allocations: 136.7 kB / 1.015 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.6545, allocations: 169.4 kB / 1.015 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.6548, allocations: 355 kB / 1.015 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006467/0.6555, allocations: 373.4 kB / 1.016 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.6556, allocations: 102.6 kB / 1.016 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.6559, allocations: 137.2 kB / 1.016 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.6559, allocations: 10.88 kB / 1.016 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.6562, allocations: 141.8 kB / 1.016 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.6563, allocations: 75.69 kB / 1.016 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.6563, allocations: 65.3 kB / 1.016 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.6567, allocations: 299.2 kB / 1.017 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6567, allocations: 1.812 kB / 1.017 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6567, allocations: 0 / 1.017 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.6567, allocations: 1.125 kB / 1.017 GB, free: 57.47 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007566/0.6575, allocations: 0.5123 MB / 1.017 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6575, allocations: 10.66 kB / 1.017 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005952/0.6581, allocations: 89.12 kB / 1.017 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.6584, allocations: 255.2 kB / 1.017 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.6584, allocations: 12.56 kB / 1.017 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.6585, allocations: 23.78 kB / 1.018 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.659, allocations: 387.8 kB / 1.018 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.659, allocations: 10.62 kB / 1.018 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.6591, allocations: 8.25 kB / 1.018 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.6591, allocations: 22.36 kB / 1.018 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005299/0.6596, allocations: 334.5 kB / 1.018 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.6611, allocations: 1.724 MB / 1.02 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/0.6618, allocations: 336.6 kB / 1.02 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.662, allocations: 152.3 kB / 1.02 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.6621, allocations: 92.62 kB / 1.02 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.6622, allocations: 36.52 kB / 1.021 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.6622, allocations: 0 / 1.021 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.00124/0.6634, allocations: 0.6167 MB / 1.021 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.6635, allocations: 77.11 kB / 1.021 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.6636, allocations: 205.4 kB / 1.021 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.6637, allocations: 26.55 kB / 1.021 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.6637, allocations: 167.2 kB / 1.022 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.6638, allocations: 67.33 kB / 1.022 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.6638, allocations: 6.625 kB / 1.022 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.6639, allocations: 329 kB / 1.022 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.6641, allocations: 134.3 kB / 1.022 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.6644, allocations: 220.6 kB / 1.022 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.6649, allocations: 381.2 kB / 1.023 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6649, allocations: 0 / 1.023 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007035/0.6656, allocations: 437 kB / 1.023 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.28e-05/0.6657, allocations: 175 kB / 1.023 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6657, allocations: 3 kB / 1.023 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.6659, allocations: 42.3 kB / 1.023 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.6662, allocations: 72.83 kB / 1.023 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.6673, allocations: 1.499 MB / 1.025 GB, free: 52.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.6675, allocations: 30.16 kB / 1.025 GB, free: 52.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.6675, allocations: 17 kB / 1.025 GB, free: 52.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.6675, allocations: 4.25 kB / 1.025 GB, free: 52.51 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006189/0.6682, allocations: 361.2 kB / 1.025 GB, free: 52.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6682, allocations: 13.41 kB / 1.025 GB, free: 52.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001121/0.6683, allocations: 42.75 kB / 1.025 GB, free: 52.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.6686, allocations: 74.84 kB / 1.025 GB, free: 52.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008862/0.6695, allocations: 1.485 MB / 1.027 GB, free: 51.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.6696, allocations: 31.36 kB / 1.027 GB, free: 51.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.6697, allocations: 8.156 kB / 1.027 GB, free: 51.15 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.6698, allocations: 237.1 kB / 1.027 GB, free: 50.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.6699, allocations: 20.97 kB / 1.027 GB, free: 50.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006211/0.6705, allocations: 367.9 kB / 1.027 GB, free: 50.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6706, allocations: 3.062 kB / 1.027 GB, free: 50.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6706, allocations: 0 / 1.027 GB, free: 50.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6706, allocations: 8.594 kB / 1.027 GB, free: 50.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.6718, allocations: 0.9717 MB / 1.028 GB, free: 50.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6719, allocations: 2.688 kB / 1.028 GB, free: 50.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.6721, allocations: 52.34 kB / 1.028 GB, free: 50.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.6722, allocations: 36.52 kB / 1.028 GB, free: 50.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.6722, allocations: 13.94 kB / 1.028 GB, free: 50.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007833/0.673, allocations: 1.401 MB / 1.03 GB, free: 49.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.673, allocations: 11.34 kB / 1.03 GB, free: 49.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.6737, allocations: 0.5419 MB / 1.03 GB, free: 48.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.6738, allocations: 129.6 kB / 1.031 GB, free: 48.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.6738, allocations: 11.66 kB / 1.031 GB, free: 48.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.6741, allocations: 24.19 kB / 1.031 GB, free: 48.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.6741, allocations: 21.72 kB / 1.031 GB, free: 48.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.6742, allocations: 8.344 kB / 1.031 GB, free: 48.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000128/0.6743, allocations: 156.2 kB / 1.031 GB, free: 48.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6743, allocations: 0 / 1.031 GB, free: 48.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005938/0.6749, allocations: 104 kB / 1.031 GB, free: 48.66 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.6751, allocations: 116.4 kB / 1.031 GB, free: 48.56 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.6762, allocations: 0.7448 MB / 1.032 GB, free: 48.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6763, allocations: 1.312 kB / 1.032 GB, free: 48.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.6766, allocations: 276.1 kB / 1.032 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.6771, allocations: 39.64 kB / 1.032 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.678, allocations: 0.6689 MB / 1.033 GB, free: 47.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.6782, allocations: 0.7673 MB / 1.033 GB, free: 47.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002536/0.6785, allocations: 89.75 kB / 1.033 GB, free: 47.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.6786, allocations: 27.83 kB / 1.033 GB, free: 47.1 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.6786, allocations: 4 kB / 1.033 GB, free: 47.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.00584/0.6844, allocations: 2.974 MB / 1.036 GB, free: 46.98 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)