Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 174.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008828/0.0008828, allocations: 88.64 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.578e-05/5.582e-05, allocations: 0 / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2471, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7674/1.015, allocations: 152.5 MB / 1.041 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.015, allocations: 88.61 kB / 1.041 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04496/1.06, allocations: 16.21 MB / 1.057 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.375e-06/1.06, allocations: 8 kB / 1.057 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.641e-05/1.06, allocations: 8 kB / 1.057 GB, free: 2.141 MB / 0.6667 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.0009221/1.061, allocations: 0.5175 MB / 1.057 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/1.061, allocations: 12.03 kB / 1.057 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.019e-05/1.061, allocations: 59.16 kB / 1.057 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008486/1.062, allocations: 91.62 kB / 1.057 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/1.062, allocations: 264.6 kB / 1.058 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/1.063, allocations: 15.5 kB / 1.058 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/1.063, allocations: 15.12 kB / 1.058 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/1.063, allocations: 354.1 kB / 1.058 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.063, allocations: 0 / 1.058 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/1.063, allocations: 10.94 kB / 1.058 GB, free: 0.8438 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.757e-05/1.063, allocations: 20.31 kB / 1.058 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/1.064, allocations: 293.8 kB / 1.058 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/1.066, allocations: 1.73 MB / 1.06 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/1.066, allocations: 319.7 kB / 1.06 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/1.067, allocations: 136.7 kB / 1.06 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/1.067, allocations: 93.05 kB / 1.061 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/1.067, allocations: 34.19 kB / 1.061 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.425e-06/1.067, allocations: 4 kB / 1.061 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.0008559/1.068, allocations: 371.1 kB / 1.061 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/1.068, allocations: 92.95 kB / 1.061 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/1.068, allocations: 180.6 kB / 1.061 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/1.068, allocations: 29.14 kB / 1.061 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/1.068, allocations: 161 kB / 1.061 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/1.068, allocations: 73.3 kB / 1.061 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/1.068, allocations: 7.781 kB / 1.061 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.068, allocations: 329.7 kB / 1.062 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/1.068, allocations: 112.7 kB / 1.062 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/1.069, allocations: 188 kB / 1.062 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/1.069, allocations: 152.9 kB / 1.062 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/1.069, allocations: 4 kB / 1.062 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006385/1.07, allocations: 396.6 kB / 1.063 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004485/1.07, allocations: 1.047 MB / 1.064 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/1.07, allocations: 11.88 kB / 1.064 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/1.07, allocations: 39.58 kB / 1.064 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/1.071, allocations: 71.88 kB / 1.064 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/1.072, allocations: 1.498 MB / 1.065 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/1.072, allocations: 34.62 kB / 1.065 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/1.073, allocations: 15.44 kB / 1.065 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/1.073, allocations: 4 kB / 1.065 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005772/1.073, allocations: 325.1 kB / 1.066 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.073, allocations: 4 kB / 1.066 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/1.073, allocations: 48.91 kB / 1.066 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/1.074, allocations: 63.89 kB / 1.066 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/1.075, allocations: 1.488 MB / 1.067 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/1.075, allocations: 34.84 kB / 1.067 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/1.075, allocations: 11.95 kB / 1.067 GB, free: 7.945 MB / 0.6823 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 () * 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.0001347/1.075, allocations: 122.5 kB / 1.067 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/1.075, allocations: 19.81 kB / 1.067 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000603/1.076, allocations: 330.7 kB / 1.068 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.076, allocations: 4 kB / 1.068 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.076, allocations: 0 / 1.068 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.076, allocations: 4 kB / 1.068 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/1.077, allocations: 0.9424 MB / 1.069 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.077, allocations: 0 / 1.069 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/1.078, allocations: 55.89 kB / 1.069 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/1.078, allocations: 39.73 kB / 1.069 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/1.078, allocations: 7.562 kB / 1.069 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/1.079, allocations: 1.402 MB / 1.07 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.079, allocations: 4.062 kB / 1.07 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/1.08, allocations: 0.5862 MB / 1.071 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/1.08, allocations: 126.3 kB / 1.071 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/1.08, allocations: 7.984 kB / 1.071 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/1.08, allocations: 26.62 kB / 1.071 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/1.08, allocations: 23.22 kB / 1.071 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/1.08, allocations: 11.88 kB / 1.071 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000147/1.08, allocations: 155.1 kB / 1.071 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/1.08, allocations: 0 / 1.071 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006186/1.081, allocations: 120.9 kB / 1.071 GB, free: 4.125 MB / 0.6823 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 () * 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.001176/1.082, allocations: 1.629 MB / 1.073 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001261/1.083, allocations: 0.691 MB / 1.073 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.083, allocations: 4.062 kB / 1.073 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/1.084, allocations: 250.2 kB / 1.074 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/1.084, allocations: 43.16 kB / 1.074 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/1.085, allocations: 0.4915 MB / 1.074 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/1.086, allocations: 0.7791 MB / 1.075 GB, free: 416 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002835/1.086, allocations: 85.98 kB / 1.075 GB, free: 332 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/1.086, allocations: 70.78 kB / 1.075 GB, free: 304 kB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/1.086, allocations: 0 / 1.075 GB, free: 304 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/1.106, allocations: 5.378 MB / 1.08 GB, free: 11.05 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.106, allocations: 197.2 kB / 1.08 GB, free: 10.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.952, allocations: 0 / 1.08 GB, free: 10.83 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)