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.771/1.771, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001587/0.001587, allocations: 172.9 kB / 361.4 MB, free: 6.828 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.635/1.635, allocations: 205.3 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008502/0.0008502, allocations: 89.41 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.205e-05, allocations: 0 / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7791/0.7791, allocations: 115.3 MB / 0.9644 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/1.015, allocations: 158.1 MB / 1.119 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/1.015, allocations: 84.55 kB / 1.119 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04333/1.059, allocations: 16.16 MB / 1.135 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/1.059, allocations: 0 / 1.135 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.375e-05/1.059, allocations: 11.94 kB / 1.135 GB, free: 13.4 MB / 0.7448 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.0009422/1.06, allocations: 0.5105 MB / 1.135 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/1.06, allocations: 13.91 kB / 1.135 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008952/1.061, allocations: 88.66 kB / 1.135 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/1.061, allocations: 266.5 kB / 1.136 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/1.061, allocations: 8 kB / 1.136 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/1.061, allocations: 12 kB / 1.136 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003935/1.062, allocations: 224.7 kB / 1.136 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/1.062, allocations: 325.4 kB / 1.136 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/1.062, allocations: 4 kB / 1.136 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/1.062, allocations: 0 / 1.136 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/1.062, allocations: 24.25 kB / 1.136 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/1.064, allocations: 1.666 MB / 1.138 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/1.065, allocations: 309.1 kB / 1.138 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/1.065, allocations: 134.3 kB / 1.138 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/1.065, allocations: 97.08 kB / 1.138 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/1.065, allocations: 30.56 kB / 1.138 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/1.065, allocations: 0 / 1.138 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0008522/1.066, allocations: 366.1 kB / 1.139 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/1.066, allocations: 85.2 kB / 1.139 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/1.066, allocations: 175 kB / 1.139 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/1.066, allocations: 29.27 kB / 1.139 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/1.067, allocations: 164 kB / 1.139 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/1.067, allocations: 67 kB / 1.139 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/1.067, allocations: 0 / 1.139 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.067, allocations: 334.8 kB / 1.139 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/1.067, allocations: 108 kB / 1.14 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/1.067, allocations: 190.4 kB / 1.14 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/1.067, allocations: 154.3 kB / 1.14 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.067, allocations: 0 / 1.14 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000648/1.068, allocations: 383.5 kB / 1.14 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004434/1.069, allocations: 1.039 MB / 1.141 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.069, allocations: 7.984 kB / 1.141 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/1.069, allocations: 44.83 kB / 1.141 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/1.069, allocations: 75.81 kB / 1.141 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/1.071, allocations: 1.432 MB / 1.143 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/1.071, allocations: 23.88 kB / 1.143 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/1.071, allocations: 12 kB / 1.143 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/1.071, allocations: 4.625 kB / 1.143 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005794/1.071, allocations: 312.7 kB / 1.143 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.071, allocations: 4 kB / 1.143 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/1.072, allocations: 40.81 kB / 1.143 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/1.072, allocations: 71.88 kB / 1.143 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/1.073, allocations: 1.423 MB / 1.145 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/1.073, allocations: 19.97 kB / 1.145 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/1.073, allocations: 18.44 kB / 1.145 GB, free: 2.477 MB / 0.7448 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.0001273/1.073, allocations: 113.8 kB / 1.145 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007513/1.074, allocations: 303.4 kB / 1.145 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/1.074, allocations: 23.72 kB / 1.145 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007578/1.075, allocations: 321.7 kB / 1.145 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.075, allocations: 4 kB / 1.145 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.075, allocations: 4 kB / 1.145 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.075, allocations: 7.938 kB / 1.145 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/1.077, allocations: 0.8756 MB / 1.146 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.077, allocations: 4 kB / 1.146 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/1.077, allocations: 51.95 kB / 1.146 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/1.077, allocations: 40.77 kB / 1.146 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/1.077, allocations: 0 / 1.146 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/1.079, allocations: 1.355 MB / 1.148 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.079, allocations: 7.406 kB / 1.148 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008533/1.08, allocations: 0.5803 MB / 1.148 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/1.08, allocations: 128.8 kB / 1.148 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/1.08, allocations: 0 / 1.148 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/1.08, allocations: 27.84 kB / 1.148 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/1.08, allocations: 27.94 kB / 1.148 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/1.08, allocations: 4 kB / 1.148 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001685/1.081, allocations: 140.2 kB / 1.149 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.21e-07/1.081, allocations: 0 / 1.149 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009713/1.082, allocations: 111.9 kB / 1.149 GB, free: 14.07 MB / 0.7605 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.001221/1.083, allocations: 1.62 MB / 1.15 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009689/1.084, allocations: 0.6422 MB / 1.151 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.084, allocations: 0 / 1.151 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/1.084, allocations: 243.2 kB / 1.151 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/1.085, allocations: 19.98 kB / 1.151 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/1.086, allocations: 485.5 kB / 1.152 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/1.086, allocations: 0.7756 MB / 1.152 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002845/1.086, allocations: 91.3 kB / 1.152 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/1.086, allocations: 67.41 kB / 1.153 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of SimCode: time 9.92e-07/1.086, allocations: 4 kB / 1.153 GB, free: 9.965 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/1.112, allocations: 4.819 MB / 1.157 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/1.112, allocations: 157.8 kB / 1.157 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.951, allocations: 3.938 kB / 1.157 GB, free: 5.047 MB / 0.7605 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)