Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001514/0.001514, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 193 kB / 16.53 MB, free: 6.664 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.628/1.628, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.3 MB / 0.5488 GB, free: 12.88 MB / 462.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.001496/0.001496, allocations: 65.73 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3037, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004737/0.3085, allocations: 2.899 MB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002723/0.3112, allocations: 1.691 MB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.3114, allocations: 4 kB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008362/0.3123, allocations: 231 kB / 0.7881 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000423/0.3127, allocations: 179.2 kB / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.3133, allocations: 235.2 kB / 0.7885 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.3136, allocations: 307.1 kB / 0.7887 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.314, allocations: 182.6 kB / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.3142, allocations: 123.5 kB / 0.789 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.3145, allocations: 143.5 kB / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.3145, allocations: 20 kB / 0.7892 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004382/0.315, allocations: 259.5 kB / 0.7894 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3151, allocations: 87.72 kB / 0.7895 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.3152, allocations: 111.5 kB / 0.7896 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.3158, allocations: 410.7 kB / 0.79 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3158, allocations: 4 kB / 0.79 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3158, allocations: 0 / 0.79 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3158, allocations: 0 / 0.79 GB, free: 6.645 MB / 0.6075 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.001051/0.3169, allocations: 0.5457 MB / 0.7906 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3169, allocations: 12.03 kB / 0.7906 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007314/0.3177, allocations: 88.56 kB / 0.7907 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.318, allocations: 259.9 kB / 0.7909 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3181, allocations: 12.75 kB / 0.7909 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.3181, allocations: 20.28 kB / 0.7909 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.3188, allocations: 382.3 kB / 0.7913 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3188, allocations: 3.938 kB / 0.7913 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.3188, allocations: 11.98 kB / 0.7913 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.3189, allocations: 24.3 kB / 0.7913 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.3195, allocations: 328.6 kB / 0.7917 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3214, allocations: 1.724 MB / 0.7933 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/0.3221, allocations: 333 kB / 0.7937 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.3224, allocations: 145.6 kB / 0.7938 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.3226, allocations: 93.09 kB / 0.7939 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3226, allocations: 34.56 kB / 0.7939 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.3226, allocations: 0 / 0.7939 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001468/0.3241, allocations: 0.5945 MB / 0.7945 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3241, allocations: 85.09 kB / 0.7946 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.3244, allocations: 203.7 kB / 0.7948 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.3244, allocations: 33.7 kB / 0.7948 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3245, allocations: 159.8 kB / 0.795 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.3246, allocations: 74.98 kB / 0.795 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3247, allocations: 57.89 kB / 0.7951 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3249, allocations: 334.8 kB / 0.7954 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.3252, allocations: 129.9 kB / 0.7955 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.3255, allocations: 219.3 kB / 0.7957 GB, free: 388 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.3261, allocations: 368.5 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3261, allocations: 0 / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007766/0.3269, allocations: 432.8 kB / 0.7965 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3269, allocations: 4 kB / 0.7965 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3269, allocations: 4 kB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.3271, allocations: 41.17 kB / 0.7965 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.3274, allocations: 71.81 kB / 0.7966 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.3291, allocations: 1.619 MB / 0.7982 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3293, allocations: 27.91 kB / 0.7982 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.3293, allocations: 12 kB / 0.7982 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003504/0.3297, allocations: 240 kB / 0.7985 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000295/0.33, allocations: 199.7 kB / 0.7987 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000535/0.3305, allocations: 353.4 kB / 0.799 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.327e-06/0.3306, allocations: 4 kB / 0.799 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007563/0.3313, allocations: 405.8 kB / 0.7994 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3313, allocations: 4 kB / 0.7994 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.3313, allocations: 4 kB / 0.7994 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.3315, allocations: 48.81 kB / 0.7994 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.3318, allocations: 63.89 kB / 0.7995 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.3333, allocations: 1.611 MB / 0.8011 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.3335, allocations: 27.88 kB / 0.8011 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.3335, allocations: 8 kB / 0.8011 GB, free: 10.44 MB / 0.6231 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.0001674/0.3337, allocations: 200.1 kB / 0.8013 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.3338, allocations: 23.75 kB / 0.8013 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007791/0.3346, allocations: 363 kB / 0.8017 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3346, allocations: 7.938 kB / 0.8017 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3346, allocations: 0 / 0.8017 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3346, allocations: 3.984 kB / 0.8017 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.3362, allocations: 0.9626 MB / 0.8026 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3362, allocations: 4 kB / 0.8026 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.3365, allocations: 52.05 kB / 0.8027 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.3366, allocations: 40.83 kB / 0.8027 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.3367, allocations: 8 kB / 0.8027 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.3381, allocations: 1.508 MB / 0.8042 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3381, allocations: 4.141 kB / 0.8042 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.3389, allocations: 0.5422 MB / 0.8047 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.339, allocations: 120.8 kB / 0.8048 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.3391, allocations: 15.94 kB / 0.8049 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.3393, allocations: 19.97 kB / 0.8049 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.3394, allocations: 19.92 kB / 0.8049 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.3394, allocations: 15.98 kB / 0.8049 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001578/0.3396, allocations: 155.5 kB / 0.8051 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3396, allocations: 3.938 kB / 0.8051 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006628/0.3402, allocations: 104 kB / 0.8052 GB, free: 6.004 MB / 0.6231 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.0002065/0.3405, allocations: 115.2 kB / 0.8053 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.3419, allocations: 0.7478 MB / 0.806 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3419, allocations: 4 kB / 0.806 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.3423, allocations: 266.5 kB / 0.8063 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.3428, allocations: 36.72 kB / 0.8063 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.3439, allocations: 0.567 MB / 0.8068 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.3444, allocations: 0.7755 MB / 0.8076 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002267/0.3446, allocations: 89.86 kB / 0.8077 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.3447, allocations: 23.44 kB / 0.8077 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.3447, allocations: 0 / 0.8077 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of Templates: time 0.007337/0.3521, allocations: 3.277 MB / 0.8109 GB, free: 0 / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)