Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 288.3 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 179.4 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 0.6306 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 109 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004152, allocations: 11.72 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2713, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.275, allocations: 158.9 MB / 1.135 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/1.275, allocations: 88.36 kB / 1.135 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03524/1.31, allocations: 16.32 MB / 1.151 GB, free: 24.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.945e-06/1.31, allocations: 0 / 1.151 GB, free: 24.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.953e-05/1.31, allocations: 7.734 kB / 1.151 GB, free: 24.63 MB / 0.698 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.000885/1.311, allocations: 0.537 MB / 1.151 GB, free: 24.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.311, allocations: 7.688 kB / 1.151 GB, free: 24.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000763/1.312, allocations: 97.48 kB / 1.151 GB, free: 24.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/1.312, allocations: 266.7 kB / 1.151 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/1.313, allocations: 11.41 kB / 1.151 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/1.313, allocations: 18.59 kB / 1.151 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/1.313, allocations: 379.9 kB / 1.152 GB, free: 23.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/1.313, allocations: 0 / 1.152 GB, free: 23.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/1.313, allocations: 19.5 kB / 1.152 GB, free: 23.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/1.313, allocations: 18.73 kB / 1.152 GB, free: 23.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005168/1.314, allocations: 329 kB / 1.152 GB, free: 23.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/1.316, allocations: 1.734 MB / 1.154 GB, free: 22.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/1.316, allocations: 333.5 kB / 1.154 GB, free: 21.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/1.316, allocations: 96.98 kB / 1.154 GB, free: 21.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.316, allocations: 38 kB / 1.154 GB, free: 21.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/1.316, allocations: 0 / 1.154 GB, free: 21.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.001372/1.318, allocations: 0.6059 MB / 1.155 GB, free: 21.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.318, allocations: 85.05 kB / 1.155 GB, free: 20.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/1.318, allocations: 184.2 kB / 1.155 GB, free: 20.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/1.318, allocations: 29.33 kB / 1.155 GB, free: 20.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/1.318, allocations: 165.3 kB / 1.155 GB, free: 20.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/1.318, allocations: 73.39 kB / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/1.318, allocations: 7 kB / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.318, allocations: 330.8 kB / 1.156 GB, free: 20.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/1.319, allocations: 127.8 kB / 1.156 GB, free: 20.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/1.319, allocations: 226.6 kB / 1.156 GB, free: 19.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/1.319, allocations: 159.1 kB / 1.156 GB, free: 19.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.319, allocations: 0 / 1.156 GB, free: 19.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006896/1.32, allocations: 443.7 kB / 1.157 GB, free: 19.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004548/1.32, allocations: 1.045 MB / 1.158 GB, free: 18.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.32, allocations: 4 kB / 1.158 GB, free: 18.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002584/1.321, allocations: 43.45 kB / 1.158 GB, free: 18.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/1.321, allocations: 79.62 kB / 1.158 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/1.322, allocations: 1.509 MB / 1.159 GB, free: 16.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/1.323, allocations: 37.22 kB / 1.159 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/1.323, allocations: 11.95 kB / 1.159 GB, free: 16.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/1.323, allocations: 4 kB / 1.159 GB, free: 16.71 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000618/1.323, allocations: 369.2 kB / 1.16 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.323, allocations: 4 kB / 1.16 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/1.323, allocations: 39.39 kB / 1.16 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/1.324, allocations: 75.5 kB / 1.16 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/1.325, allocations: 1.491 MB / 1.161 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/1.325, allocations: 35.33 kB / 1.161 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/1.325, allocations: 14.86 kB / 1.161 GB, free: 14.77 MB / 0.698 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.0002367/1.325, allocations: 234.5 kB / 1.162 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/1.325, allocations: 23.72 kB / 1.162 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000648/1.326, allocations: 363.7 kB / 1.162 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.326, allocations: 4.281 kB / 1.162 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.326, allocations: 0 / 1.162 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.326, allocations: 7.969 kB / 1.162 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/1.327, allocations: 0.9708 MB / 1.163 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.327, allocations: 4 kB / 1.163 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/1.328, allocations: 50.53 kB / 1.163 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/1.328, allocations: 43.06 kB / 1.163 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/1.328, allocations: 0 / 1.163 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/1.329, allocations: 1.422 MB / 1.164 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.329, allocations: 0 / 1.164 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/1.329, allocations: 0.626 MB / 1.165 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/1.33, allocations: 132 kB / 1.165 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/1.33, allocations: 4 kB / 1.165 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/1.33, allocations: 27.47 kB / 1.165 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/1.33, allocations: 23.75 kB / 1.165 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/1.33, allocations: 15.36 kB / 1.165 GB, free: 10.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000133/1.33, allocations: 146.3 kB / 1.165 GB, free: 10.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.33, allocations: 4 kB / 1.165 GB, free: 10.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006656/1.331, allocations: 120.1 kB / 1.165 GB, free: 10.76 MB / 0.698 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.0001902/1.331, allocations: 129.1 kB / 1.166 GB, free: 10.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001188/1.332, allocations: 0.7378 MB / 1.166 GB, free: 10.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.332, allocations: 4.25 kB / 1.166 GB, free: 10 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/1.333, allocations: 264.7 kB / 1.167 GB, free: 9.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/1.333, allocations: 35.17 kB / 1.167 GB, free: 9.746 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009035/1.334, allocations: 0.6768 MB / 1.167 GB, free: 9.086 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/1.334, allocations: 0.7751 MB / 1.168 GB, free: 8.293 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002312/1.334, allocations: 89.86 kB / 1.168 GB, free: 8.203 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/1.335, allocations: 28.8 kB / 1.168 GB, free: 8.176 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/1.335, allocations: 0 / 1.168 GB, free: 8.176 MB / 0.698 GB Notification: Performance of Templates: time 0.006599/1.341, allocations: 2.978 MB / 1.171 GB, free: 5.223 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)