Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.554/2.554, allocations: 254.9 MB / 269.9 MB, free: 9.625 MB / 218.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.001428/0.001428, allocations: 189.1 kB / 329.5 MB, free: 1.145 MB / 250.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 2.48/2.48, allocations: 225.6 MB / 0.6001 GB, free: 436 kB / 426.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.0009552/0.0009548, allocations: 102.8 kB / 0.7074 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006633/0.0006636, allocations: 10.16 kB / 0.8242 GB, free: 125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.254, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003737/0.2578, allocations: 2.491 MB / 0.9332 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.2609, allocations: 1.532 MB / 0.9347 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.2611, allocations: 7.938 kB / 0.9347 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.2613, allocations: 31.77 kB / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005708/0.2619, allocations: 131.4 kB / 0.9349 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/0.2627, allocations: 171.6 kB / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.2633, allocations: 354.9 kB / 0.9354 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009252/0.2642, allocations: 375 kB / 0.9357 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.2644, allocations: 103.6 kB / 0.9358 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.2648, allocations: 135.5 kB / 0.9359 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.2648, allocations: 8 kB / 0.9359 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.2653, allocations: 143.8 kB / 0.9361 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.365e-05/0.2654, allocations: 75.73 kB / 0.9362 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.2655, allocations: 65.58 kB / 0.9362 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.2659, allocations: 299.5 kB / 0.9365 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.266, allocations: 0 / 0.9365 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.246e-06/0.266, allocations: 3.984 kB / 0.9365 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.266, allocations: 0 / 0.9365 GB, free: 18.95 MB / 0.5886 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.001077/0.2671, allocations: 0.5107 MB / 0.937 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2671, allocations: 8.031 kB / 0.937 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.2682, allocations: 88.56 kB / 0.9371 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.2686, allocations: 257.5 kB / 0.9373 GB, free: 18.01 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.2686, allocations: 12.75 kB / 0.9374 GB, free: 18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.2687, allocations: 20.38 kB / 0.9374 GB, free: 17.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.2696, allocations: 382.4 kB / 0.9377 GB, free: 17.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.2696, allocations: 7.938 kB / 0.9377 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.2697, allocations: 8 kB / 0.9378 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-05/0.2698, allocations: 28.31 kB / 0.9378 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009215/0.2707, allocations: 329.3 kB / 0.9381 GB, free: 17.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.273, allocations: 1.724 MB / 0.9398 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.2741, allocations: 345 kB / 0.9401 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.2745, allocations: 157.6 kB / 0.9403 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.2747, allocations: 89.08 kB / 0.9403 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2747, allocations: 38.56 kB / 0.9404 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=20): time 3.417e-06/0.2748, allocations: 0 / 0.9404 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21): time 0.002083/0.2768, allocations: 0.6113 MB / 0.941 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2769, allocations: 77.11 kB / 0.9411 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.2772, allocations: 212.4 kB / 0.9413 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.2772, allocations: 25.7 kB / 0.9413 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.2773, allocations: 159.9 kB / 0.9414 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.321e-05/0.2774, allocations: 78.92 kB / 0.9415 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.2774, allocations: 4 kB / 0.9415 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.2775, allocations: 326.8 kB / 0.9418 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.2779, allocations: 136.5 kB / 0.942 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.2784, allocations: 220.1 kB / 0.9422 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.2788, allocations: 163.9 kB / 0.9423 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.2789, allocations: 4 kB / 0.9423 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001274/0.2801, allocations: 435.8 kB / 0.9427 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/0.2803, allocations: 162.6 kB / 0.9429 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2803, allocations: 4 kB / 0.9429 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/0.2806, allocations: 48.81 kB / 0.9429 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.2812, allocations: 67.89 kB / 0.943 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.283, allocations: 1.497 MB / 0.9445 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.2835, allocations: 39.75 kB / 0.9445 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.2836, allocations: 15.98 kB / 0.9445 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2836, allocations: 0 / 0.9445 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001115/0.2847, allocations: 370.5 kB / 0.9449 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.2848, allocations: 7.875 kB / 0.9449 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.285, allocations: 45.16 kB / 0.9449 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.2855, allocations: 71.89 kB / 0.945 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.287, allocations: 1.481 MB / 0.9464 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.2874, allocations: 31.83 kB / 0.9465 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.2874, allocations: 15.98 kB / 0.9465 GB, free: 7.973 MB / 0.5886 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.0002466/0.2877, allocations: 233.5 kB / 0.9467 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.2877, allocations: 15.81 kB / 0.9467 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.2888, allocations: 372 kB / 0.9471 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.2888, allocations: 0 / 0.9471 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2889, allocations: 4 kB / 0.9471 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2889, allocations: 11.92 kB / 0.9471 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.2909, allocations: 0.9676 MB / 0.948 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.291, allocations: 3.984 kB / 0.948 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.2914, allocations: 51.91 kB / 0.9481 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002042/0.2916, allocations: 45.16 kB / 0.9481 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.2917, allocations: 8 kB / 0.9481 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.2929, allocations: 1.402 MB / 0.9495 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.2929, allocations: 11.94 kB / 0.9495 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.294, allocations: 0.5353 MB / 0.95 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.2941, allocations: 128.8 kB / 0.9502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.2942, allocations: 4 kB / 0.9502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.2946, allocations: 31.97 kB / 0.9502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.2947, allocations: 23.97 kB / 0.9502 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.2947, allocations: 4 kB / 0.9502 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002168/0.295, allocations: 158.8 kB / 0.9504 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/0.295, allocations: 0 / 0.9504 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008168/0.2958, allocations: 108 kB / 0.9505 GB, free: 3.582 MB / 0.5886 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.0001791/0.296, allocations: 119.2 kB / 0.9506 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.2979, allocations: 0.7452 MB / 0.9513 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.2979, allocations: 0 / 0.9513 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.2985, allocations: 275.9 kB / 0.9516 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.2992, allocations: 42.88 kB / 0.9516 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3005, allocations: 0.6622 MB / 0.9523 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.3009, allocations: 0.7717 MB / 0.953 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004322/0.3013, allocations: 93.97 kB / 0.9531 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.3014, allocations: 19.44 kB / 0.9531 GB, free: 0.7461 MB / 0.5886 GB Notification: Performance of SimCode: time 1.152e-06/0.3014, allocations: 7.938 kB / 0.9531 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of Templates: time 0.009758/0.3112, allocations: 2.972 MB / 0.9561 GB, free: 13.77 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)