Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009826/0.009826, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 195.5 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 251.7 MB / 0.5094 GB, free: 424 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.89 kB / 0.7258 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9058/0.9073, allocations: 104.7 MB / 0.828 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004751/0.9122, allocations: 2.893 MB / 0.8308 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002905/0.9151, allocations: 1.691 MB / 0.8325 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.9152, allocations: 7.938 kB / 0.8325 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009075/0.9161, allocations: 231.1 kB / 0.8327 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.9166, allocations: 187.1 kB / 0.8329 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.9172, allocations: 223.4 kB / 0.8331 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.9176, allocations: 318.9 kB / 0.8334 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.918, allocations: 173.5 kB / 0.8336 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.9182, allocations: 139.5 kB / 0.8337 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.9185, allocations: 143.5 kB / 0.8339 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.9185, allocations: 20 kB / 0.8339 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.9189, allocations: 247.5 kB / 0.8341 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.9191, allocations: 83.78 kB / 0.8342 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.9192, allocations: 119.3 kB / 0.8343 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.9197, allocations: 417.1 kB / 0.8347 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9197, allocations: 0 / 0.8347 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9197, allocations: 0 / 0.8347 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.9198, allocations: 0 / 0.8347 GB, free: 11.72 MB / 0.6387 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.0009637/0.9207, allocations: 0.5457 MB / 0.8352 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.9208, allocations: 12.03 kB / 0.8352 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007074/0.9215, allocations: 84.56 kB / 0.8353 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.9219, allocations: 263.9 kB / 0.8356 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.9219, allocations: 12.75 kB / 0.8356 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.922, allocations: 20.38 kB / 0.8356 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.9226, allocations: 382.5 kB / 0.836 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.9226, allocations: 0 / 0.836 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.9226, allocations: 15.94 kB / 0.836 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.9227, allocations: 24.31 kB / 0.836 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.9233, allocations: 328.6 kB / 0.8363 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.9251, allocations: 1.713 MB / 0.838 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.9259, allocations: 329 kB / 0.8383 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.9262, allocations: 153.6 kB / 0.8385 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.9264, allocations: 93.09 kB / 0.8386 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.9264, allocations: 34.56 kB / 0.8386 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.9264, allocations: 0 / 0.8386 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.001574/0.928, allocations: 0.5959 MB / 0.8392 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.9281, allocations: 85.02 kB / 0.8392 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.9284, allocations: 208.4 kB / 0.8394 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.9284, allocations: 25.7 kB / 0.8395 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.9286, allocations: 163.9 kB / 0.8396 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.9286, allocations: 70.94 kB / 0.8397 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.9288, allocations: 61.97 kB / 0.8398 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.9289, allocations: 326.8 kB / 0.8401 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.9292, allocations: 137.9 kB / 0.8402 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.9296, allocations: 212.4 kB / 0.8404 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/0.9302, allocations: 368.9 kB / 0.8408 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9302, allocations: 0 / 0.8408 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007874/0.931, allocations: 429.8 kB / 0.8412 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.931, allocations: 4 kB / 0.8412 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.9311, allocations: 4 kB / 0.8412 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.9313, allocations: 49.12 kB / 0.8412 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.9316, allocations: 79.88 kB / 0.8413 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.9332, allocations: 1.599 MB / 0.8429 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.9335, allocations: 31.81 kB / 0.8429 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.9335, allocations: 12 kB / 0.8429 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003946/0.9339, allocations: 232 kB / 0.8431 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002869/0.9342, allocations: 220.1 kB / 0.8433 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005385/0.9348, allocations: 349.8 kB / 0.8437 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.287e-06/0.9348, allocations: 3.984 kB / 0.8437 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008183/0.9356, allocations: 406.1 kB / 0.8441 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.9356, allocations: 8 kB / 0.8441 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.9356, allocations: 4 kB / 0.8441 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.9358, allocations: 44.75 kB / 0.8441 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.936, allocations: 67.89 kB / 0.8442 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.9375, allocations: 1.607 MB / 0.8457 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.9377, allocations: 27.86 kB / 0.8458 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.9377, allocations: 19.98 kB / 0.8458 GB, free: 15.51 MB / 0.6544 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.0001482/0.9379, allocations: 197.3 kB / 0.846 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.9379, allocations: 23.66 kB / 0.846 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006847/0.9386, allocations: 356 kB / 0.8463 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.9387, allocations: 8 kB / 0.8463 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.9387, allocations: 0 / 0.8463 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.9387, allocations: 4 kB / 0.8463 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.9402, allocations: 0.9637 MB / 0.8473 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.9402, allocations: 0 / 0.8473 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.9404, allocations: 55.89 kB / 0.8473 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.9406, allocations: 32.83 kB / 0.8474 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.9406, allocations: 8 kB / 0.8474 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.942, allocations: 1.516 MB / 0.8489 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.942, allocations: 4.031 kB / 0.8489 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007845/0.9428, allocations: 0.5458 MB / 0.8494 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.9429, allocations: 120.8 kB / 0.8495 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.943, allocations: 11.94 kB / 0.8495 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.9432, allocations: 19.97 kB / 0.8495 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.9433, allocations: 19.98 kB / 0.8496 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.9434, allocations: 4 kB / 0.8496 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001676/0.9435, allocations: 162.9 kB / 0.8497 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9435, allocations: 0 / 0.8497 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006633/0.9442, allocations: 112 kB / 0.8498 GB, free: 11.08 MB / 0.6544 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.0002191/0.9444, allocations: 115.1 kB / 0.8499 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.9459, allocations: 0.7315 MB / 0.8507 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9459, allocations: 1.062 kB / 0.8507 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.9463, allocations: 274.9 kB / 0.8509 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.9468, allocations: 30.88 kB / 0.8509 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.9479, allocations: 0.5553 MB / 0.8515 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.9483, allocations: 0.7717 MB / 0.8522 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.9485, allocations: 81.88 kB / 0.8523 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.9486, allocations: 31.42 kB / 0.8523 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.9486, allocations: 0 / 0.8523 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of Templates: time 0.007193/0.9558, allocations: 3.342 MB / 0.8556 GB, free: 5.051 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)