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.001071/0.001071, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001048/0.001048, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.599/1.599, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.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.000619/0.0006192, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6353/0.636, allocations: 106.3 MB / 0.728 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.005582/0.6416, allocations: 2.454 MB / 0.7304 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003608/0.6453, allocations: 1.548 MB / 0.7319 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.6457, allocations: 4 kB / 0.7319 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.646, allocations: 27.78 kB / 0.7319 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007996/0.6468, allocations: 115.6 kB / 0.732 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.6477, allocations: 177.1 kB / 0.7322 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005684/0.6483, allocations: 175.6 kB / 0.7324 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009495/0.6493, allocations: 359 kB / 0.7327 GB, free: 6.672 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.6496, allocations: 91.67 kB / 0.7328 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.6499, allocations: 103.6 kB / 0.7329 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.6499, allocations: 12 kB / 0.7329 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.6504, allocations: 135.8 kB / 0.733 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.6505, allocations: 59.86 kB / 0.7331 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.6506, allocations: 65.58 kB / 0.7331 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.6511, allocations: 305.2 kB / 0.7334 GB, free: 5.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6511, allocations: 0 / 0.7334 GB, free: 5.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6511, allocations: 0 / 0.7334 GB, free: 5.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.6511, allocations: 0 / 0.7334 GB, free: 5.91 MB / 0.545 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.0008827/0.652, allocations: 0.5221 MB / 0.7339 GB, free: 5.336 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.6521, allocations: 8.031 kB / 0.734 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/0.6529, allocations: 103.5 kB / 0.7341 GB, free: 5.227 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.6532, allocations: 254.6 kB / 0.7343 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.6533, allocations: 12.38 kB / 0.7343 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.6533, allocations: 16 kB / 0.7343 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/0.6539, allocations: 378.2 kB / 0.7347 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.654, allocations: 7.938 kB / 0.7347 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.654, allocations: 7.984 kB / 0.7347 GB, free: 4.492 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.6541, allocations: 28.31 kB / 0.7347 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.6546, allocations: 332.6 kB / 0.735 GB, free: 4.137 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.6565, allocations: 1.721 MB / 0.7367 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/0.6572, allocations: 346.8 kB / 0.7371 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.6573, allocations: 89.41 kB / 0.7371 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.6574, allocations: 42.55 kB / 0.7372 GB, free: 1.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.6574, allocations: 0 / 0.7372 GB, free: 1.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.001299/0.6587, allocations: 0.5997 MB / 0.7378 GB, free: 1.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.6587, allocations: 77.11 kB / 0.7378 GB, free: 1.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.6589, allocations: 211.7 kB / 0.738 GB, free: 0.832 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.6589, allocations: 25.7 kB / 0.7381 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.659, allocations: 163.9 kB / 0.7382 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.6591, allocations: 82.84 kB / 0.7383 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.6591, allocations: 4 kB / 0.7383 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6593, allocations: 330.8 kB / 0.7386 GB, free: 224 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.6595, allocations: 128.5 kB / 0.7387 GB, free: 96 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.6598, allocations: 219.5 kB / 0.739 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.6601, allocations: 160.8 kB / 0.7391 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6601, allocations: 0 / 0.7391 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007593/0.6609, allocations: 434.4 kB / 0.7395 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004893/0.6614, allocations: 1.057 MB / 0.7406 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6614, allocations: 4 kB / 0.7406 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.6616, allocations: 44.81 kB / 0.7406 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.6619, allocations: 71.89 kB / 0.7407 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.6633, allocations: 1.501 MB / 0.7421 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.6635, allocations: 39.88 kB / 0.7422 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.6636, allocations: 8 kB / 0.7422 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.6636, allocations: 4 kB / 0.7422 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006591/0.6642, allocations: 364.8 kB / 0.7425 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6643, allocations: 4 kB / 0.7425 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.6644, allocations: 44.81 kB / 0.7426 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.6647, allocations: 83.83 kB / 0.7427 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.6659, allocations: 1.493 MB / 0.7441 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.6661, allocations: 31.89 kB / 0.7441 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.6661, allocations: 23.92 kB / 0.7442 GB, free: 10.12 MB / 0.5606 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.0002049/0.6663, allocations: 225 kB / 0.7444 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.6664, allocations: 19.81 kB / 0.7444 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006725/0.6671, allocations: 370.7 kB / 0.7448 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6671, allocations: 4 kB / 0.7448 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6671, allocations: 0 / 0.7448 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.6671, allocations: 3.984 kB / 0.7448 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.6685, allocations: 0.9755 MB / 0.7457 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6685, allocations: 4 kB / 0.7457 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.6687, allocations: 43.97 kB / 0.7458 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.6689, allocations: 40.81 kB / 0.7458 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.6689, allocations: 8 kB / 0.7458 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.67, allocations: 1.425 MB / 0.7472 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.67, allocations: 7.891 kB / 0.7472 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.6708, allocations: 0.6291 MB / 0.7478 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.671, allocations: 120.8 kB / 0.7479 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.671, allocations: 8 kB / 0.7479 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.6712, allocations: 27.97 kB / 0.748 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.6713, allocations: 11.98 kB / 0.748 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.6713, allocations: 15.98 kB / 0.748 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001416/0.6715, allocations: 150.8 kB / 0.7481 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6715, allocations: 4 kB / 0.7481 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006191/0.6721, allocations: 108 kB / 0.7482 GB, free: 5.613 MB / 0.5606 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.0001812/0.6723, allocations: 111.1 kB / 0.7484 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.6736, allocations: 0.7513 MB / 0.7491 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6736, allocations: 4.25 kB / 0.7491 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.674, allocations: 273.9 kB / 0.7494 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.6744, allocations: 23.98 kB / 0.7494 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.6754, allocations: 0.6697 MB / 0.75 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.6759, allocations: 0.7677 MB / 0.7508 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000238/0.6761, allocations: 94.09 kB / 0.7509 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.6762, allocations: 23.44 kB / 0.7509 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.6762, allocations: 0 / 0.7509 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of Templates: time 0.006437/0.6826, allocations: 2.973 MB / 0.7538 GB, free: 15.81 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: