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.679/1.679, allocations: 288.4 MB / 304.3 MB, free: 8.043 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.000963/0.000963, allocations: 177.7 kB / 373 MB, free: 10.16 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.652/1.652, allocations: 205.4 MB / 0.6317 GB, free: 9.836 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.000851/0.0008509, allocations: 100.2 kB / 0.745 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004312, allocations: 16.31 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2541, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8492/1.103, allocations: 158.9 MB / 1.136 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.104, allocations: 84.92 kB / 1.136 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03343/1.137, allocations: 16.35 MB / 1.152 GB, free: 25.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/1.137, allocations: 0 / 1.152 GB, free: 25.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.5e-05/1.137, allocations: 3.844 kB / 1.152 GB, free: 25.04 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.0007661/1.138, allocations: 0.5415 MB / 1.152 GB, free: 24.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.138, allocations: 8.031 kB / 1.152 GB, free: 24.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007852/1.139, allocations: 99.48 kB / 1.153 GB, free: 24.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/1.139, allocations: 255 kB / 1.153 GB, free: 24.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/1.139, allocations: 18.42 kB / 1.153 GB, free: 24.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/1.139, allocations: 26.2 kB / 1.153 GB, free: 24.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/1.14, allocations: 379.4 kB / 1.153 GB, free: 23.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/1.14, allocations: 192 / 1.153 GB, free: 23.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/1.14, allocations: 11.75 kB / 1.153 GB, free: 23.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-05/1.14, allocations: 23.75 kB / 1.153 GB, free: 23.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/1.14, allocations: 335.9 kB / 1.154 GB, free: 23.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/1.142, allocations: 1.717 MB / 1.155 GB, free: 21.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/1.143, allocations: 338 kB / 1.156 GB, free: 21.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/1.143, allocations: 157.1 kB / 1.156 GB, free: 21.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/1.143, allocations: 89.09 kB / 1.156 GB, free: 21.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/1.143, allocations: 38.44 kB / 1.156 GB, free: 21.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.835e-06/1.143, allocations: 0 / 1.156 GB, free: 21.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.001332/1.145, allocations: 0.6096 MB / 1.156 GB, free: 20.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/1.145, allocations: 77.11 kB / 1.157 GB, free: 20.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/1.145, allocations: 207.8 kB / 1.157 GB, free: 20.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/1.145, allocations: 29.7 kB / 1.157 GB, free: 20.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/1.145, allocations: 161.6 kB / 1.157 GB, free: 20.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/1.145, allocations: 77.44 kB / 1.157 GB, free: 20.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/1.145, allocations: 2.875 kB / 1.157 GB, free: 20.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.145, allocations: 332.8 kB / 1.157 GB, free: 19.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/1.146, allocations: 126.8 kB / 1.157 GB, free: 19.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/1.146, allocations: 224.6 kB / 1.158 GB, free: 19.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/1.146, allocations: 379.7 kB / 1.158 GB, free: 19.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.146, allocations: 0 / 1.158 GB, free: 19.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007046/1.147, allocations: 441.6 kB / 1.158 GB, free: 19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.147, allocations: 168.5 kB / 1.159 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.147, allocations: 0 / 1.159 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/1.148, allocations: 48.56 kB / 1.159 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/1.148, allocations: 71.08 kB / 1.159 GB, free: 18.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/1.149, allocations: 1.493 MB / 1.16 GB, free: 17.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/1.15, allocations: 38.56 kB / 1.16 GB, free: 17.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/1.15, allocations: 19.92 kB / 1.16 GB, free: 17.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/1.15, allocations: 4 kB / 1.16 GB, free: 17.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006234/1.15, allocations: 366.2 kB / 1.161 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.15, allocations: 4 kB / 1.161 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/1.15, allocations: 46.25 kB / 1.161 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/1.151, allocations: 70.92 kB / 1.161 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/1.152, allocations: 1.484 MB / 1.162 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/1.152, allocations: 27.3 kB / 1.162 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/1.152, allocations: 14.86 kB / 1.162 GB, free: 15.16 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.0002361/1.152, allocations: 230.7 kB / 1.162 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/1.152, allocations: 23.72 kB / 1.162 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/1.153, allocations: 365.8 kB / 1.163 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.153, allocations: 8 kB / 1.163 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.153, allocations: 0 / 1.163 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.153, allocations: 3.984 kB / 1.163 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/1.154, allocations: 0.979 MB / 1.164 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.154, allocations: 7.984 kB / 1.164 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/1.155, allocations: 43.97 kB / 1.164 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/1.155, allocations: 47.5 kB / 1.164 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/1.155, allocations: 0 / 1.164 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009743/1.156, allocations: 1.41 MB / 1.165 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.156, allocations: 4.031 kB / 1.165 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/1.156, allocations: 0.5409 MB / 1.166 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/1.156, allocations: 127.3 kB / 1.166 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/1.156, allocations: 7.938 kB / 1.166 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/1.157, allocations: 23.09 kB / 1.166 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/1.157, allocations: 23.59 kB / 1.166 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/1.157, allocations: 11.81 kB / 1.166 GB, free: 11.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001328/1.157, allocations: 152 kB / 1.166 GB, free: 11.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/1.157, allocations: 0 / 1.166 GB, free: 11.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005941/1.158, allocations: 115.5 kB / 1.166 GB, free: 11.28 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.0001723/1.158, allocations: 122.8 kB / 1.166 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001123/1.159, allocations: 0.7479 MB / 1.167 GB, free: 10.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.159, allocations: 0 / 1.167 GB, free: 10.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/1.159, allocations: 276.8 kB / 1.167 GB, free: 10.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/1.16, allocations: 34.92 kB / 1.167 GB, free: 10.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/1.161, allocations: 0.6653 MB / 1.168 GB, free: 9.605 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/1.161, allocations: 0.7741 MB / 1.169 GB, free: 8.816 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002522/1.161, allocations: 81.88 kB / 1.169 GB, free: 8.734 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/1.161, allocations: 23.42 kB / 1.169 GB, free: 8.711 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.161, allocations: 4 kB / 1.169 GB, free: 8.707 MB / 0.698 GB Notification: Performance of Templates: time 0.006441/1.168, allocations: 3.002 MB / 1.172 GB, free: 5.723 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)