Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.647/2.647, allocations: 287.5 MB / 303.2 MB, free: 8.219 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.001978/0.001977, allocations: 186.6 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009086/0.0009081, allocations: 92.23 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007132/0.0007131, allocations: 12.94 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2307, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9182/1.149, allocations: 158.7 MB / 1.134 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/1.149, allocations: 88.23 kB / 1.134 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06074/1.21, allocations: 16.35 MB / 1.15 GB, free: 25.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.21, allocations: 4 kB / 1.15 GB, free: 25.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.38e-05/1.21, allocations: 7.688 kB / 1.15 GB, free: 25.11 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.001076/1.211, allocations: 0.5332 MB / 1.151 GB, free: 24.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.211, allocations: 11.66 kB / 1.151 GB, free: 24.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/1.213, allocations: 94.86 kB / 1.151 GB, free: 24.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/1.213, allocations: 261.2 kB / 1.151 GB, free: 24.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/1.213, allocations: 20.25 kB / 1.151 GB, free: 24.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/1.213, allocations: 22.75 kB / 1.151 GB, free: 24.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008756/1.214, allocations: 381 kB / 1.152 GB, free: 24.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.214, allocations: 4.172 kB / 1.152 GB, free: 24.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/1.214, allocations: 14.62 kB / 1.152 GB, free: 24.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/1.214, allocations: 19.84 kB / 1.152 GB, free: 24.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009058/1.215, allocations: 340.2 kB / 1.152 GB, free: 24.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/1.218, allocations: 1.721 MB / 1.154 GB, free: 22.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/1.219, allocations: 330.4 kB / 1.154 GB, free: 22.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/1.219, allocations: 154.1 kB / 1.154 GB, free: 22.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/1.219, allocations: 88.84 kB / 1.154 GB, free: 22.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/1.219, allocations: 42.25 kB / 1.154 GB, free: 22.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.825e-06/1.219, allocations: 0 / 1.154 GB, free: 22.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.00208/1.222, allocations: 0.6082 MB / 1.155 GB, free: 22.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/1.222, allocations: 81.11 kB / 1.155 GB, free: 21.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/1.222, allocations: 203.8 kB / 1.155 GB, free: 21.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/1.222, allocations: 29.7 kB / 1.155 GB, free: 21.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/1.222, allocations: 164 kB / 1.155 GB, free: 21.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/1.222, allocations: 69.75 kB / 1.155 GB, free: 21.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/1.222, allocations: 6.688 kB / 1.155 GB, free: 21.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.222, allocations: 337.1 kB / 1.156 GB, free: 21.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/1.223, allocations: 133.1 kB / 1.156 GB, free: 21.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/1.223, allocations: 214.5 kB / 1.156 GB, free: 20.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/1.224, allocations: 382.9 kB / 1.156 GB, free: 20.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.224, allocations: 0 / 1.156 GB, free: 20.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001282/1.225, allocations: 435.9 kB / 1.157 GB, free: 20.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.226, allocations: 162.1 kB / 1.157 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.226, allocations: 8 kB / 1.157 GB, free: 20.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/1.226, allocations: 43.33 kB / 1.157 GB, free: 20.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/1.226, allocations: 75.44 kB / 1.157 GB, free: 19.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/1.228, allocations: 1.489 MB / 1.159 GB, free: 18.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/1.229, allocations: 37.5 kB / 1.159 GB, free: 18.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/1.229, allocations: 8.062 kB / 1.159 GB, free: 18.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/1.229, allocations: 4 kB / 1.159 GB, free: 18.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/1.23, allocations: 380.4 kB / 1.159 GB, free: 18.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.23, allocations: 11.97 kB / 1.159 GB, free: 18.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/1.23, allocations: 47.88 kB / 1.159 GB, free: 18.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/1.231, allocations: 67.89 kB / 1.159 GB, free: 18.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/1.233, allocations: 1.481 MB / 1.161 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/1.233, allocations: 23.48 kB / 1.161 GB, free: 16.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/1.233, allocations: 15.38 kB / 1.161 GB, free: 16.46 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.0003182/1.233, allocations: 244.3 kB / 1.161 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/1.233, allocations: 23.72 kB / 1.161 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/1.234, allocations: 364.6 kB / 1.161 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.234, allocations: 4 kB / 1.161 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.234, allocations: 0 / 1.161 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.234, allocations: 0 / 1.161 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/1.237, allocations: 0.9695 MB / 1.162 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.237, allocations: 4 kB / 1.162 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/1.237, allocations: 55.36 kB / 1.162 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/1.237, allocations: 40.08 kB / 1.162 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/1.237, allocations: 6.938 kB / 1.162 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/1.239, allocations: 1.41 MB / 1.164 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.239, allocations: 0 / 1.164 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.24, allocations: 0.5421 MB / 1.164 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/1.24, allocations: 130.9 kB / 1.164 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/1.24, allocations: 11.38 kB / 1.164 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/1.241, allocations: 23.72 kB / 1.164 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/1.241, allocations: 19.97 kB / 1.164 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/1.241, allocations: 11.81 kB / 1.164 GB, free: 12.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001972/1.241, allocations: 152.3 kB / 1.164 GB, free: 12.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.241, allocations: 0 / 1.164 GB, free: 12.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009566/1.242, allocations: 122.2 kB / 1.165 GB, free: 12.57 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.0002164/1.242, allocations: 114.7 kB / 1.165 GB, free: 12.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001851/1.244, allocations: 0.7471 MB / 1.165 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.244, allocations: 192 / 1.165 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/1.245, allocations: 274 kB / 1.166 GB, free: 11.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/1.245, allocations: 37.34 kB / 1.166 GB, free: 11.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/1.247, allocations: 0.6716 MB / 1.166 GB, free: 10.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/1.247, allocations: 0.7626 MB / 1.167 GB, free: 10.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004385/1.248, allocations: 89.86 kB / 1.167 GB, free: 10.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.248, allocations: 23.44 kB / 1.167 GB, free: 10 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/1.248, allocations: 0 / 1.167 GB, free: 10 MB / 0.698 GB Notification: Performance of Templates: time 0.009602/1.257, allocations: 2.992 MB / 1.17 GB, free: 7.039 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)