Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.146/2.146, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 180.3 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.442/2.442, allocations: 205.4 MB / 0.5772 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 87.61 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006326/0.0006328, allocations: 11.41 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2083, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3064/0.5148, allocations: 152.4 MB / 1.048 GB, free: 8.945 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/0.5152, allocations: 91.94 kB / 1.048 GB, free: 8.855 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6902/1.205, allocations: 16.33 MB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/1.206, allocations: 3.031 kB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.308e-05/1.206, allocations: 6.219 kB / 1.064 GB, free: 149.2 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.001107/1.207, allocations: 0.5428 MB / 1.065 GB, free: 148.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.207, allocations: 9.656 kB / 1.065 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/1.208, allocations: 103.1 kB / 1.065 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/1.208, allocations: 252.8 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/1.208, allocations: 16.67 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/1.208, allocations: 25.97 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009532/1.209, allocations: 371.2 kB / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/1.209, allocations: 1.688 kB / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/1.21, allocations: 13.44 kB / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.74e-05/1.21, allocations: 23.11 kB / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/1.211, allocations: 335.1 kB / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/1.214, allocations: 1.725 MB / 1.068 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/1.215, allocations: 345.5 kB / 1.068 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004918/1.215, allocations: 151.3 kB / 1.068 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/1.216, allocations: 87.33 kB / 1.068 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/1.216, allocations: 40.66 kB / 1.068 GB, free: 146.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 3.276e-06/1.216, allocations: 0.6875 kB / 1.068 GB, free: 146.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.002305/1.218, allocations: 0.6076 MB / 1.069 GB, free: 146.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/1.218, allocations: 83.64 kB / 1.069 GB, free: 146.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/1.218, allocations: 207.1 kB / 1.069 GB, free: 146.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/1.218, allocations: 34.64 kB / 1.069 GB, free: 146.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/1.219, allocations: 157 kB / 1.069 GB, free: 146.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.519e-05/1.219, allocations: 80.27 kB / 1.069 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/1.219, allocations: 9.188 kB / 1.069 GB, free: 146.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/1.219, allocations: 329.9 kB / 1.07 GB, free: 146 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004779/1.219, allocations: 129.1 kB / 1.07 GB, free: 146 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/1.22, allocations: 215.4 kB / 1.07 GB, free: 145.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/1.22, allocations: 166.8 kB / 1.07 GB, free: 145.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.22, allocations: 0.75 kB / 1.07 GB, free: 145.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001453/1.222, allocations: 433.6 kB / 1.071 GB, free: 145.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.782e-05/1.222, allocations: 172.1 kB / 1.071 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.222, allocations: 3.453 kB / 1.071 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/1.222, allocations: 49.59 kB / 1.071 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/1.223, allocations: 71.3 kB / 1.071 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/1.225, allocations: 1.486 MB / 1.072 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/1.225, allocations: 38.67 kB / 1.072 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/1.225, allocations: 15.27 kB / 1.072 GB, free: 144.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.226, allocations: 3.094 kB / 1.072 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00131/1.227, allocations: 371.9 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.227, allocations: 3.375 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/1.227, allocations: 35.92 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/1.228, allocations: 76.25 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/1.229, allocations: 1.492 MB / 1.074 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/1.23, allocations: 25.19 kB / 1.074 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/1.23, allocations: 13.47 kB / 1.074 GB, free: 143 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.0003184/1.23, allocations: 239.1 kB / 1.075 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/1.23, allocations: 21.59 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/1.231, allocations: 365.9 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/1.231, allocations: 3.156 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.231, allocations: 0.9688 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/1.231, allocations: 3.281 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/1.234, allocations: 0.9707 MB / 1.076 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.234, allocations: 5.625 kB / 1.076 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/1.234, allocations: 57.53 kB / 1.076 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/1.235, allocations: 38.52 kB / 1.076 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/1.235, allocations: 3.25 kB / 1.076 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/1.236, allocations: 1.412 MB / 1.077 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.236, allocations: 2.719 kB / 1.077 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/1.237, allocations: 0.5473 MB / 1.078 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.237, allocations: 123.9 kB / 1.078 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/1.238, allocations: 11.19 kB / 1.078 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/1.238, allocations: 25.62 kB / 1.078 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.238, allocations: 23.8 kB / 1.078 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/1.238, allocations: 10.44 kB / 1.078 GB, free: 140.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002197/1.238, allocations: 161.5 kB / 1.078 GB, free: 140.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.4e-07/1.238, allocations: 0.625 kB / 1.078 GB, free: 140.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009747/1.239, allocations: 114.1 kB / 1.078 GB, free: 140.4 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.0002169/1.24, allocations: 122.8 kB / 1.078 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002076/1.242, allocations: 0.7482 MB / 1.079 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.242, allocations: 0 / 1.079 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006735/1.242, allocations: 274.6 kB / 1.079 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/1.243, allocations: 35.2 kB / 1.08 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/1.245, allocations: 0.6664 MB / 1.08 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/1.245, allocations: 0.7709 MB / 1.081 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004693/1.245, allocations: 84.7 kB / 1.081 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/1.246, allocations: 23.28 kB / 1.081 GB, free: 138.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.393e-06/1.246, allocations: 1.219 kB / 1.081 GB, free: 138.9 MB / 0.698 GB Notification: Performance of Templates: time 0.009833/1.255, allocations: 2.999 MB / 1.084 GB, free: 138.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)