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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.65/1.65, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.00107/0.00107, allocations: 185 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.643/1.643, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.001085/0.001085, allocations: 97.27 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004703, allocations: 11.56 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2799, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.967/1.247, allocations: 158.9 MB / 1.135 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/1.247, allocations: 87.2 kB / 1.135 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0534/1.301, allocations: 16.32 MB / 1.151 GB, free: 24.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.727e-06/1.301, allocations: 0 / 1.151 GB, free: 24.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.974e-05/1.301, allocations: 7.75 kB / 1.151 GB, free: 24.97 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.001389/1.302, allocations: 0.5442 MB / 1.151 GB, free: 24.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/1.302, allocations: 11.55 kB / 1.151 GB, free: 24.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/1.303, allocations: 58.86 kB / 1.151 GB, free: 24.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/1.304, allocations: 89.44 kB / 1.151 GB, free: 24.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/1.304, allocations: 270.9 kB / 1.152 GB, free: 24.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/1.304, allocations: 11.34 kB / 1.152 GB, free: 24.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/1.304, allocations: 18.75 kB / 1.152 GB, free: 24.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/1.305, allocations: 374.2 kB / 1.152 GB, free: 23.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/1.305, allocations: 0 / 1.152 GB, free: 23.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/1.305, allocations: 15 kB / 1.152 GB, free: 23.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/1.305, allocations: 20.31 kB / 1.152 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005928/1.306, allocations: 334.1 kB / 1.152 GB, free: 23.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/1.308, allocations: 1.728 MB / 1.154 GB, free: 21.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/1.308, allocations: 343.5 kB / 1.154 GB, free: 21.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/1.309, allocations: 93.03 kB / 1.154 GB, free: 21.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/1.309, allocations: 34.56 kB / 1.154 GB, free: 21.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/1.309, allocations: 0 / 1.154 GB, free: 21.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.001464/1.31, allocations: 0.608 MB / 1.155 GB, free: 21.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/1.31, allocations: 81.11 kB / 1.155 GB, free: 20.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/1.31, allocations: 190.5 kB / 1.155 GB, free: 20.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/1.31, allocations: 28.58 kB / 1.155 GB, free: 20.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.311, allocations: 160.7 kB / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/1.311, allocations: 76.62 kB / 1.156 GB, free: 20.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/1.311, allocations: 7.5 kB / 1.156 GB, free: 20.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.311, allocations: 327.6 kB / 1.156 GB, free: 20.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/1.311, allocations: 130.5 kB / 1.156 GB, free: 20.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/1.311, allocations: 214 kB / 1.156 GB, free: 19.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/1.312, allocations: 167.9 kB / 1.156 GB, free: 19.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/1.312, allocations: 0 / 1.156 GB, free: 19.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007877/1.312, allocations: 437.7 kB / 1.157 GB, free: 19.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005672/1.313, allocations: 1.045 MB / 1.158 GB, free: 18.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.313, allocations: 7.938 kB / 1.158 GB, free: 18.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/1.313, allocations: 47.5 kB / 1.158 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/1.314, allocations: 79.25 kB / 1.158 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/1.315, allocations: 1.497 MB / 1.159 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/1.316, allocations: 39.17 kB / 1.159 GB, free: 16.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/1.316, allocations: 19.97 kB / 1.159 GB, free: 16.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.316, allocations: 4 kB / 1.159 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006458/1.316, allocations: 373.8 kB / 1.16 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.316, allocations: 4 kB / 1.16 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/1.316, allocations: 44.62 kB / 1.16 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/1.317, allocations: 67.64 kB / 1.16 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/1.318, allocations: 1.492 MB / 1.161 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/1.318, allocations: 34.94 kB / 1.161 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/1.318, allocations: 14.62 kB / 1.161 GB, free: 14.7 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.0002535/1.318, allocations: 235.4 kB / 1.162 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/1.319, allocations: 19.84 kB / 1.162 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/1.319, allocations: 374.8 kB / 1.162 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.319, allocations: 0 / 1.162 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.319, allocations: 4 kB / 1.162 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.319, allocations: 0 / 1.162 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/1.321, allocations: 0.9709 MB / 1.163 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.321, allocations: 0 / 1.163 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/1.321, allocations: 55.89 kB / 1.163 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/1.322, allocations: 36.86 kB / 1.163 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/1.322, allocations: 7.75 kB / 1.163 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/1.323, allocations: 1.42 MB / 1.164 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/1.323, allocations: 4.031 kB / 1.164 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/1.324, allocations: 0.6246 MB / 1.165 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/1.324, allocations: 128.2 kB / 1.165 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/1.324, allocations: 7.875 kB / 1.165 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/1.324, allocations: 23.72 kB / 1.165 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/1.325, allocations: 31.67 kB / 1.165 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/1.325, allocations: 4 kB / 1.165 GB, free: 10.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001897/1.325, allocations: 157.9 kB / 1.165 GB, free: 10.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.325, allocations: 0 / 1.165 GB, free: 10.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007545/1.326, allocations: 122.4 kB / 1.166 GB, free: 10.69 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.001368/1.327, allocations: 1.66 MB / 1.167 GB, free: 9.047 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001286/1.328, allocations: 0.7396 MB / 1.168 GB, free: 8.422 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.328, allocations: 4 kB / 1.168 GB, free: 8.418 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/1.329, allocations: 270.1 kB / 1.168 GB, free: 8.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/1.329, allocations: 43.5 kB / 1.168 GB, free: 8.152 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/1.333, allocations: 3.311 MB / 1.171 GB, free: 4.984 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/1.333, allocations: 0.7786 MB / 1.172 GB, free: 4.188 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002785/1.334, allocations: 94.12 kB / 1.172 GB, free: 4.094 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.334, allocations: 70.78 kB / 1.172 GB, free: 4.066 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/1.334, allocations: 0 / 1.172 GB, free: 4.066 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/1.357, allocations: 5.162 MB / 1.177 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/1.357, allocations: 225.4 kB / 1.178 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/3.267, allocations: 0 / 1.178 GB, free: 14.85 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)