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.0009867/0.0009918, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00733/0.00733, allocations: 170 kB / 16.26 MB, free: 6.613 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.526/1.526, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.595/1.595, allocations: 252 MB / 0.5105 GB, free: 4.645 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.0005374/0.0005376, allocations: 12 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5034, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003654/0.5071, allocations: 2.586 MB / 0.7312 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.5097, allocations: 1.676 MB / 0.7329 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.881e-05/0.5098, allocations: 0 / 0.7329 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.51, allocations: 31.72 kB / 0.7329 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.5104, allocations: 167.3 kB / 0.7331 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.5109, allocations: 215.5 kB / 0.7333 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.5114, allocations: 430.8 kB / 0.7337 GB, free: 6.156 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007413/0.5122, allocations: 384.2 kB / 0.7341 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.5124, allocations: 103.5 kB / 0.7342 GB, free: 5.668 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.5126, allocations: 135.5 kB / 0.7343 GB, free: 5.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.5127, allocations: 12 kB / 0.7343 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.5131, allocations: 307.4 kB / 0.7346 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-05/0.5132, allocations: 63.8 kB / 0.7347 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.5133, allocations: 133.1 kB / 0.7348 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.5138, allocations: 422.7 kB / 0.7352 GB, free: 4.609 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5138, allocations: 0 / 0.7352 GB, free: 4.609 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5138, allocations: 0 / 0.7352 GB, free: 4.609 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.5138, allocations: 0 / 0.7352 GB, free: 4.609 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.001067/0.5149, allocations: 0.5067 MB / 0.7357 GB, free: 4.051 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5149, allocations: 8.031 kB / 0.7357 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007222/0.5157, allocations: 96.56 kB / 0.7358 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.516, allocations: 259.9 kB / 0.736 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.516, allocations: 16.73 kB / 0.736 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.5161, allocations: 16.38 kB / 0.7361 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.5167, allocations: 382.6 kB / 0.7364 GB, free: 3.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.5167, allocations: 3.938 kB / 0.7364 GB, free: 3.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.5168, allocations: 8 kB / 0.7364 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-05/0.5168, allocations: 28.3 kB / 0.7365 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00064/0.5175, allocations: 332.7 kB / 0.7368 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.5194, allocations: 1.728 MB / 0.7385 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/0.5202, allocations: 333 kB / 0.7388 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.5205, allocations: 169.5 kB / 0.7389 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.5207, allocations: 85.09 kB / 0.739 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.5208, allocations: 42.56 kB / 0.7391 GB, free: 328 kB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.5208, allocations: 0 / 0.7391 GB, free: 328 kB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.001488/0.5223, allocations: 0.6094 MB / 0.7397 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.5223, allocations: 85.09 kB / 0.7397 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.5225, allocations: 207.7 kB / 0.7399 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.5226, allocations: 29.7 kB / 0.74 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5227, allocations: 155.9 kB / 0.7401 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.5228, allocations: 78.78 kB / 0.7402 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.5228, allocations: 33.72 kB / 0.7402 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.523, allocations: 334.8 kB / 0.7405 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.5232, allocations: 128.5 kB / 0.7407 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.5235, allocations: 219.3 kB / 0.7409 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.5241, allocations: 376.6 kB / 0.7412 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5241, allocations: 0 / 0.7412 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008704/0.525, allocations: 441.8 kB / 0.7417 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.5251, allocations: 169.2 kB / 0.7418 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5251, allocations: 4 kB / 0.7418 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.5254, allocations: 44.81 kB / 0.7419 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.5257, allocations: 67.89 kB / 0.7419 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.5273, allocations: 1.501 MB / 0.7434 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.5275, allocations: 31.83 kB / 0.7434 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.5275, allocations: 11.98 kB / 0.7434 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.5275, allocations: 8.062 kB / 0.7434 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006699/0.5282, allocations: 368.5 kB / 0.7438 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5282, allocations: 7.938 kB / 0.7438 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.5284, allocations: 40.83 kB / 0.7438 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.5286, allocations: 63.89 kB / 0.7439 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.53, allocations: 1.493 MB / 0.7454 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.5302, allocations: 27.83 kB / 0.7454 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.5302, allocations: 19.98 kB / 0.7454 GB, free: 9.332 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 (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.0002062/0.5304, allocations: 233 kB / 0.7456 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.5305, allocations: 19.81 kB / 0.7456 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008145/0.5313, allocations: 368 kB / 0.746 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.5313, allocations: 0 / 0.746 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5313, allocations: 4 kB / 0.746 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5313, allocations: 7.922 kB / 0.746 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.5329, allocations: 0.9638 MB / 0.747 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5329, allocations: 0 / 0.747 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.5332, allocations: 64.05 kB / 0.747 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.5333, allocations: 36.83 kB / 0.747 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.5334, allocations: 7.938 kB / 0.7471 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.5345, allocations: 1.413 MB / 0.7484 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.5345, allocations: 11.91 kB / 0.7484 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.5352, allocations: 0.5383 MB / 0.749 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.5353, allocations: 128.7 kB / 0.7491 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.5354, allocations: 8 kB / 0.7491 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.5356, allocations: 23.97 kB / 0.7491 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.5357, allocations: 27.97 kB / 0.7492 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.5357, allocations: 4 kB / 0.7492 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001401/0.5359, allocations: 162.8 kB / 0.7493 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5359, allocations: 0 / 0.7493 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005993/0.5365, allocations: 116 kB / 0.7494 GB, free: 4.938 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 (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.0001508/0.5367, allocations: 107.1 kB / 0.7495 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.5379, allocations: 0.7423 MB / 0.7502 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5379, allocations: 4.062 kB / 0.7503 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/0.5383, allocations: 281.5 kB / 0.7505 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.5388, allocations: 38.38 kB / 0.7506 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.5399, allocations: 0.6561 MB / 0.7512 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.5403, allocations: 0.7717 MB / 0.752 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002464/0.5405, allocations: 89.86 kB / 0.752 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.5406, allocations: 19.44 kB / 0.7521 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.5406, allocations: 0 / 0.7521 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of Templates: time 0.006222/0.5468, allocations: 3.05 MB / 0.755 GB, free: 15.07 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: