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.008547/0.008547, allocations: 102.8 kB / 15.73 MB, free: 6.484 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.001548/0.001548, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.716/1.716, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.729/1.729, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001904/0.001904, allocations: 72.45 kB / 0.7258 GB, free: 9.074 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2859, allocations: 104.7 MB / 0.828 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004828/0.2908, allocations: 2.883 MB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.2938, allocations: 1.695 MB / 0.8325 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.2939, allocations: 7.938 kB / 0.8325 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.2949, allocations: 235 kB / 0.8327 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.2954, allocations: 191.1 kB / 0.8329 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.2961, allocations: 219.4 kB / 0.8331 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.2964, allocations: 311 kB / 0.8334 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.2968, allocations: 174.4 kB / 0.8336 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.297, allocations: 139.5 kB / 0.8337 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.2973, allocations: 147.5 kB / 0.8339 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.2974, allocations: 24 kB / 0.8339 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.2979, allocations: 243.5 kB / 0.8341 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.298, allocations: 87.8 kB / 0.8342 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.2981, allocations: 119.3 kB / 0.8343 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.2986, allocations: 414.8 kB / 0.8347 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2987, allocations: 0 / 0.8347 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2987, allocations: 3.938 kB / 0.8347 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2987, allocations: 0 / 0.8347 GB, free: 9.371 MB / 0.6544 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.001003/0.2997, allocations: 0.5457 MB / 0.8352 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2997, allocations: 12.03 kB / 0.8353 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007187/0.3005, allocations: 88.47 kB / 0.8353 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.3008, allocations: 256.8 kB / 0.8356 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3009, allocations: 16.73 kB / 0.8356 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.3009, allocations: 20.38 kB / 0.8356 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.3016, allocations: 378.5 kB / 0.836 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.3016, allocations: 7.938 kB / 0.836 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.3017, allocations: 4 kB / 0.836 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/0.3017, allocations: 32.31 kB / 0.836 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.3023, allocations: 324.6 kB / 0.8363 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.3045, allocations: 1.713 MB / 0.838 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.3053, allocations: 329.1 kB / 0.8383 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.3055, allocations: 160.2 kB / 0.8385 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.3058, allocations: 93.09 kB / 0.8386 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3058, allocations: 30.56 kB / 0.8386 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.3058, allocations: 4 kB / 0.8386 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.001692/0.3075, allocations: 0.5958 MB / 0.8392 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.3076, allocations: 81.11 kB / 0.8393 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.3079, allocations: 207.7 kB / 0.8394 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.3079, allocations: 25.7 kB / 0.8395 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.308, allocations: 163.9 kB / 0.8396 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.3081, allocations: 70.91 kB / 0.8397 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.3083, allocations: 61.97 kB / 0.8398 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3084, allocations: 326.8 kB / 0.8401 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.3087, allocations: 137.9 kB / 0.8402 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.3091, allocations: 211.3 kB / 0.8404 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.3097, allocations: 364.1 kB / 0.8407 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3097, allocations: 0 / 0.8407 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009105/0.3106, allocations: 433.7 kB / 0.8412 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3107, allocations: 8 kB / 0.8412 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3107, allocations: 0 / 0.8412 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/0.311, allocations: 45.16 kB / 0.8412 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.3113, allocations: 75.88 kB / 0.8413 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.3132, allocations: 1.611 MB / 0.8429 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.3134, allocations: 27.88 kB / 0.8429 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.3135, allocations: 12 kB / 0.8429 GB, free: 372 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003696/0.3138, allocations: 232 kB / 0.8431 GB, free: 136 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003194/0.3142, allocations: 219.6 kB / 0.8433 GB, free: 15.88 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005604/0.3148, allocations: 353.1 kB / 0.8437 GB, free: 15.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.3148, allocations: 0 / 0.8437 GB, free: 15.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007516/0.3155, allocations: 409 kB / 0.8441 GB, free: 15.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3156, allocations: 8 kB / 0.8441 GB, free: 15.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3156, allocations: 4 kB / 0.8441 GB, free: 15.08 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.3157, allocations: 44.75 kB / 0.8441 GB, free: 15.03 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.316, allocations: 71.95 kB / 0.8442 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.3176, allocations: 1.607 MB / 0.8457 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.3179, allocations: 19.98 kB / 0.8458 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.3179, allocations: 19.98 kB / 0.8458 GB, free: 13.16 MB / 0.67 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.0001905/0.3181, allocations: 200.2 kB / 0.846 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.3182, allocations: 23.66 kB / 0.846 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.3189, allocations: 356 kB / 0.8463 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.319, allocations: 0 / 0.8463 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.319, allocations: 8 kB / 0.8463 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.319, allocations: 0 / 0.8463 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.3206, allocations: 0.9637 MB / 0.8473 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3206, allocations: 0 / 0.8473 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.3208, allocations: 55.89 kB / 0.8473 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.321, allocations: 36.83 kB / 0.8474 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.321, allocations: 7.938 kB / 0.8474 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.3223, allocations: 1.52 MB / 0.8489 GB, free: 9.773 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3223, allocations: 0 / 0.8489 GB, free: 9.773 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.323, allocations: 0.5392 MB / 0.8494 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.3232, allocations: 120.8 kB / 0.8495 GB, free: 9.059 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.3232, allocations: 15.84 kB / 0.8495 GB, free: 9.043 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.3234, allocations: 23.97 kB / 0.8495 GB, free: 9.02 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.3235, allocations: 15.98 kB / 0.8496 GB, free: 9.004 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3235, allocations: 4 kB / 0.8496 GB, free: 9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001435/0.3237, allocations: 159 kB / 0.8497 GB, free: 8.844 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3237, allocations: 4 kB / 0.8497 GB, free: 8.84 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006549/0.3244, allocations: 108 kB / 0.8498 GB, free: 8.734 MB / 0.67 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.0001891/0.3246, allocations: 110 kB / 0.8499 GB, free: 8.621 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.3261, allocations: 0.7407 MB / 0.8507 GB, free: 7.855 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.3261, allocations: 3.938 kB / 0.8507 GB, free: 7.852 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.3266, allocations: 279.9 kB / 0.8509 GB, free: 7.566 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3271, allocations: 34.67 kB / 0.851 GB, free: 7.535 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3284, allocations: 0.5475 MB / 0.8515 GB, free: 6.938 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.3288, allocations: 0.7717 MB / 0.8522 GB, free: 6.137 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.3291, allocations: 85.88 kB / 0.8523 GB, free: 6.051 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.3291, allocations: 27.42 kB / 0.8524 GB, free: 6.023 MB / 0.67 GB Notification: Performance of SimCode: time 3.51e-07/0.3292, allocations: 0 / 0.8524 GB, free: 6.023 MB / 0.67 GB Notification: Performance of Templates: time 0.008729/0.3379, allocations: 3.337 MB / 0.8556 GB, free: 2.695 MB / 0.67 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)