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/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 293 MB / 309 MB, free: 4.816 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.001083/0.001083, allocations: 180.5 kB / 378.7 MB, free: 0.9922 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.778/1.778, allocations: 205.4 MB / 0.6383 GB, free: 8.203 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007816/0.0007816, allocations: 89.67 kB / 0.7527 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004339, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3061, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9314/1.238, allocations: 159.9 MB / 1.147 GB, free: 18.26 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004228/1.238, allocations: 89.31 kB / 1.147 GB, free: 18.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0451/1.283, allocations: 16.36 MB / 1.163 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.687e-06/1.283, allocations: 0 / 1.163 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.437e-05/1.283, allocations: 4 kB / 1.163 GB, free: 5.141 MB / 0.7292 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.001068/1.284, allocations: 0.5392 MB / 1.163 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/1.285, allocations: 8.031 kB / 1.163 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009676/1.286, allocations: 96.55 kB / 1.163 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/1.286, allocations: 255.9 kB / 1.164 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/1.286, allocations: 16.75 kB / 1.164 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/1.286, allocations: 24.27 kB / 1.164 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/1.287, allocations: 374.2 kB / 1.164 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/1.287, allocations: 6 kB / 1.164 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/1.287, allocations: 15.92 kB / 1.164 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/1.287, allocations: 28.25 kB / 1.164 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006192/1.288, allocations: 340.6 kB / 1.164 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/1.29, allocations: 1.717 MB / 1.166 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/1.29, allocations: 337.1 kB / 1.166 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/1.29, allocations: 153.6 kB / 1.166 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/1.291, allocations: 89.09 kB / 1.167 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/1.291, allocations: 34.56 kB / 1.167 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 2.324e-06/1.291, allocations: 0 / 1.167 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.001359/1.292, allocations: 0.6138 MB / 1.167 GB, free: 200 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.292, allocations: 77.11 kB / 1.167 GB, free: 104 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/1.292, allocations: 208.4 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/1.292, allocations: 29.7 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.293, allocations: 163.9 kB / 1.168 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.489e-05/1.293, allocations: 74.94 kB / 1.168 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/1.293, allocations: 4 kB / 1.168 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.293, allocations: 330.8 kB / 1.168 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/1.293, allocations: 127.9 kB / 1.168 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/1.293, allocations: 226.1 kB / 1.168 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/1.294, allocations: 380 kB / 1.169 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.294, allocations: 0 / 1.169 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008713/1.295, allocations: 436.1 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/1.295, allocations: 170.8 kB / 1.169 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.295, allocations: 4.938 kB / 1.169 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/1.296, allocations: 40.77 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/1.296, allocations: 79.81 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/1.298, allocations: 1.491 MB / 1.171 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/1.298, allocations: 39.88 kB / 1.171 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/1.298, allocations: 12 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.298, allocations: 4 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007277/1.299, allocations: 364.5 kB / 1.171 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.299, allocations: 4 kB / 1.171 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/1.299, allocations: 48.69 kB / 1.171 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/1.299, allocations: 67.89 kB / 1.171 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/1.3, allocations: 1.487 MB / 1.173 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/1.301, allocations: 27.98 kB / 1.173 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/1.301, allocations: 16.69 kB / 1.173 GB, free: 9.891 MB / 0.7448 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.0002683/1.301, allocations: 233 kB / 1.173 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.969e-05/1.301, allocations: 23.72 kB / 1.173 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/1.302, allocations: 368.2 kB / 1.173 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.302, allocations: 4 kB / 1.173 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.302, allocations: 0 / 1.173 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.302, allocations: 0 / 1.173 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/1.304, allocations: 0.9762 MB / 1.174 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/1.304, allocations: 9.125 kB / 1.174 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/1.304, allocations: 51.95 kB / 1.174 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/1.304, allocations: 36.83 kB / 1.175 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/1.304, allocations: 8 kB / 1.175 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/1.305, allocations: 1.399 MB / 1.176 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.305, allocations: 7.969 kB / 1.176 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008028/1.306, allocations: 0.5503 MB / 1.176 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/1.306, allocations: 124.8 kB / 1.177 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/1.306, allocations: 11.94 kB / 1.177 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.306, allocations: 21.03 kB / 1.177 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.314e-05/1.307, allocations: 24.11 kB / 1.177 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/1.307, allocations: 12 kB / 1.177 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001765/1.307, allocations: 151 kB / 1.177 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.2e-07/1.307, allocations: 0 / 1.177 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006726/1.307, allocations: 116 kB / 1.177 GB, free: 5.516 MB / 0.7448 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.0002669/1.308, allocations: 127 kB / 1.177 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001516/1.309, allocations: 0.7511 MB / 1.178 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.309, allocations: 0 / 1.178 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004687/1.31, allocations: 271.2 kB / 1.178 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/1.31, allocations: 42.95 kB / 1.178 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/1.312, allocations: 0.6662 MB / 1.179 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/1.312, allocations: 0.7678 MB / 1.179 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002947/1.312, allocations: 91 kB / 1.18 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/1.312, allocations: 27.42 kB / 1.18 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/1.312, allocations: 0 / 1.18 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of Templates: time 0.007833/1.32, allocations: 3.001 MB / 1.182 GB, free: 15.7 MB / 0.7605 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)