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.008336/0.008336, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001586/0.001586, allocations: 194.7 kB / 16.68 MB, free: 5.953 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.736/1.736, allocations: 205.1 MB / 222.6 MB, free: 4.543 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.75/1.75, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.001686/0.001686, allocations: 67.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2994, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.005194/0.3047, allocations: 2.892 MB / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00347/0.3082, allocations: 1.695 MB / 0.8325 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.3085, allocations: 4 kB / 0.8325 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.3097, allocations: 239 kB / 0.8327 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006201/0.3103, allocations: 175.2 kB / 0.8329 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008205/0.3111, allocations: 231 kB / 0.8331 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000482/0.3116, allocations: 319 kB / 0.8334 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.3121, allocations: 174.3 kB / 0.8336 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.3124, allocations: 127.5 kB / 0.8337 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.3127, allocations: 151.5 kB / 0.8339 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.3128, allocations: 20 kB / 0.8339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.3133, allocations: 247.5 kB / 0.8341 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3134, allocations: 83.78 kB / 0.8342 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.3135, allocations: 115.4 kB / 0.8343 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.3141, allocations: 414.7 kB / 0.8347 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3142, allocations: 4 kB / 0.8347 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3142, allocations: 0 / 0.8347 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3142, allocations: 0 / 0.8347 GB, free: 9.328 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.001248/0.3154, allocations: 0.5418 MB / 0.8352 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.3155, allocations: 8.031 kB / 0.8352 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007767/0.3163, allocations: 96.47 kB / 0.8353 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.3167, allocations: 264.7 kB / 0.8356 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3167, allocations: 16.75 kB / 0.8356 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.3168, allocations: 16.38 kB / 0.8356 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/0.3175, allocations: 386.5 kB / 0.836 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3176, allocations: 0 / 0.836 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.3176, allocations: 11.98 kB / 0.836 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.3177, allocations: 24.31 kB / 0.836 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.3183, allocations: 324.6 kB / 0.8363 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.3207, allocations: 1.724 MB / 0.838 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008003/0.3216, allocations: 325.1 kB / 0.8383 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.3219, allocations: 153.5 kB / 0.8385 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.3221, allocations: 89.03 kB / 0.8386 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3222, allocations: 38.56 kB / 0.8386 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 3.287e-06/0.3222, allocations: 0 / 0.8386 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.001758/0.3239, allocations: 0.5908 MB / 0.8392 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.3241, allocations: 85.11 kB / 0.8392 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.3244, allocations: 207.6 kB / 0.8394 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.3244, allocations: 29.7 kB / 0.8395 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.3246, allocations: 159.9 kB / 0.8396 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.3247, allocations: 78.91 kB / 0.8397 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3248, allocations: 57.97 kB / 0.8398 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.3251, allocations: 330.8 kB / 0.8401 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.3254, allocations: 133.9 kB / 0.8402 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.3257, allocations: 211.3 kB / 0.8404 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.3264, allocations: 364.4 kB / 0.8408 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3264, allocations: 8 kB / 0.8408 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00093/0.3274, allocations: 420.6 kB / 0.8412 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.3274, allocations: 8 kB / 0.8412 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.3274, allocations: 8.344 kB / 0.8412 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.3277, allocations: 44.81 kB / 0.8412 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.328, allocations: 63.89 kB / 0.8413 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.3299, allocations: 1.623 MB / 0.8429 GB, free: 360 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.3301, allocations: 27.92 kB / 0.8429 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.3302, allocations: 15.98 kB / 0.8429 GB, free: 316 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003733/0.3306, allocations: 235.9 kB / 0.8431 GB, free: 76 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003973/0.331, allocations: 207.7 kB / 0.8433 GB, free: 15.83 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006704/0.3316, allocations: 353.8 kB / 0.8437 GB, free: 15.45 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.3317, allocations: 0 / 0.8437 GB, free: 15.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008269/0.3325, allocations: 409.8 kB / 0.8441 GB, free: 15.04 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3325, allocations: 4 kB / 0.8441 GB, free: 15.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.3325, allocations: 7.984 kB / 0.8441 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.3327, allocations: 40.83 kB / 0.8441 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.333, allocations: 68.16 kB / 0.8442 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.3348, allocations: 1.623 MB / 0.8458 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.335, allocations: 15.98 kB / 0.8458 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.3351, allocations: 19.92 kB / 0.8458 GB, free: 13.11 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.0002135/0.3353, allocations: 196.1 kB / 0.846 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.3355, allocations: 27.66 kB / 0.846 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.3362, allocations: 364.1 kB / 0.8464 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3362, allocations: 4 kB / 0.8464 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3363, allocations: 0 / 0.8464 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3363, allocations: 0 / 0.8464 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.3379, allocations: 0.9626 MB / 0.8473 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.338, allocations: 0 / 0.8473 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.3382, allocations: 59.89 kB / 0.8474 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/0.3384, allocations: 37.05 kB / 0.8474 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.3384, allocations: 12 kB / 0.8474 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002682/0.3411, allocations: 1.504 MB / 0.8489 GB, free: 9.727 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3411, allocations: 0 / 0.8489 GB, free: 9.727 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.3422, allocations: 0.542 MB / 0.8494 GB, free: 9.148 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.3425, allocations: 116.8 kB / 0.8495 GB, free: 9.016 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.3425, allocations: 19.83 kB / 0.8495 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.3428, allocations: 15.98 kB / 0.8495 GB, free: 8.98 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3429, allocations: 27.91 kB / 0.8496 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.343, allocations: 8 kB / 0.8496 GB, free: 8.945 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002564/0.3432, allocations: 159 kB / 0.8497 GB, free: 8.789 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.81e-07/0.3432, allocations: 0 / 0.8497 GB, free: 8.789 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008469/0.3441, allocations: 104 kB / 0.8498 GB, free: 8.688 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.000387/0.3445, allocations: 107.4 kB / 0.8499 GB, free: 8.574 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.3465, allocations: 0.7478 MB / 0.8507 GB, free: 7.801 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3466, allocations: 8.25 kB / 0.8507 GB, free: 7.793 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.3472, allocations: 266.5 kB / 0.8509 GB, free: 7.52 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.3478, allocations: 38.55 kB / 0.851 GB, free: 7.484 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.3494, allocations: 0.548 MB / 0.8515 GB, free: 6.887 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009809/0.3504, allocations: 0.7717 MB / 0.8522 GB, free: 6.086 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002534/0.3506, allocations: 85.86 kB / 0.8523 GB, free: 6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.3507, allocations: 23.42 kB / 0.8524 GB, free: 5.977 MB / 0.67 GB Notification: Performance of SimCode: time 1.102e-06/0.3507, allocations: 0 / 0.8524 GB, free: 5.977 MB / 0.67 GB Notification: Performance of Templates: time 0.00865/0.3594, allocations: 3.347 MB / 0.8556 GB, free: 2.637 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)