Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001209/0.001209, allocations: 179.6 kB / 371.6 MB, free: 3.414 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.551/1.551, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008579/0.0008579, allocations: 90.08 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.537e-05, allocations: 0 / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2509, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7692/1.02, allocations: 159.8 MB / 1.136 GB, free: 29.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/1.02, allocations: 85.72 kB / 1.136 GB, free: 29.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04078/1.061, allocations: 16.21 MB / 1.152 GB, free: 21.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.443e-06/1.061, allocations: 0 / 1.152 GB, free: 21.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.301e-05/1.061, allocations: 8 kB / 1.152 GB, free: 21.32 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.0008592/1.062, allocations: 0.5206 MB / 1.152 GB, free: 20.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.062, allocations: 12.03 kB / 1.152 GB, free: 20.79 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.209e-05/1.062, allocations: 58.94 kB / 1.152 GB, free: 20.74 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/1.063, allocations: 91.88 kB / 1.152 GB, free: 20.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/1.064, allocations: 259.8 kB / 1.153 GB, free: 20.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.064, allocations: 25.62 kB / 1.153 GB, free: 20.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/1.064, allocations: 15.25 kB / 1.153 GB, free: 20.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/1.064, allocations: 350.6 kB / 1.153 GB, free: 20.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/1.064, allocations: 4 kB / 1.153 GB, free: 20.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/1.064, allocations: 10.66 kB / 1.153 GB, free: 20.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/1.064, allocations: 22.48 kB / 1.153 GB, free: 20.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/1.065, allocations: 293.6 kB / 1.153 GB, free: 19.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/1.067, allocations: 1.726 MB / 1.155 GB, free: 18.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/1.067, allocations: 311.9 kB / 1.155 GB, free: 18.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/1.067, allocations: 144.2 kB / 1.156 GB, free: 18.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/1.068, allocations: 91.39 kB / 1.156 GB, free: 18.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/1.068, allocations: 39.7 kB / 1.156 GB, free: 18.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/1.068, allocations: 0 / 1.156 GB, free: 18.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0007641/1.068, allocations: 373 kB / 1.156 GB, free: 17.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/1.068, allocations: 85.11 kB / 1.156 GB, free: 17.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/1.069, allocations: 180.7 kB / 1.156 GB, free: 17.51 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/1.069, allocations: 29.52 kB / 1.156 GB, free: 17.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/1.069, allocations: 165 kB / 1.156 GB, free: 17.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/1.069, allocations: 74.38 kB / 1.157 GB, free: 17.28 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/1.069, allocations: 7 kB / 1.157 GB, free: 17.28 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/1.069, allocations: 330.5 kB / 1.157 GB, free: 16.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/1.069, allocations: 116.2 kB / 1.157 GB, free: 16.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/1.069, allocations: 202.4 kB / 1.157 GB, free: 16.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/1.069, allocations: 141.2 kB / 1.157 GB, free: 16.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.069, allocations: 0 / 1.157 GB, free: 16.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000561/1.07, allocations: 407.2 kB / 1.158 GB, free: 16.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/1.07, allocations: 1.045 MB / 1.159 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.07, allocations: 4 kB / 1.159 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/1.07, allocations: 38.38 kB / 1.159 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/1.071, allocations: 73.5 kB / 1.159 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/1.072, allocations: 1.497 MB / 1.16 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/1.072, allocations: 30.36 kB / 1.16 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/1.072, allocations: 11.8 kB / 1.16 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/1.072, allocations: 8.062 kB / 1.16 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005076/1.073, allocations: 332 kB / 1.161 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/1.073, allocations: 4 kB / 1.161 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/1.073, allocations: 37.95 kB / 1.161 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/1.073, allocations: 77.11 kB / 1.161 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009154/1.074, allocations: 1.485 MB / 1.162 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/1.074, allocations: 26.84 kB / 1.162 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/1.074, allocations: 13.09 kB / 1.162 GB, free: 11.91 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 9.401e-05/1.074, allocations: 125.6 kB / 1.162 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/1.074, allocations: 19.81 kB / 1.162 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/1.075, allocations: 332.8 kB / 1.163 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.075, allocations: 0 / 1.163 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.075, allocations: 4 kB / 1.163 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.075, allocations: 1.406 kB / 1.163 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/1.076, allocations: 0.9416 MB / 1.164 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.076, allocations: 1.125 kB / 1.164 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/1.076, allocations: 59.08 kB / 1.164 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/1.077, allocations: 35.39 kB / 1.164 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/1.077, allocations: 3.969 kB / 1.164 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008928/1.078, allocations: 1.41 MB / 1.165 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.078, allocations: 0.6562 kB / 1.165 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005919/1.078, allocations: 0.5891 MB / 1.166 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.078, allocations: 130.7 kB / 1.166 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/1.078, allocations: 11.08 kB / 1.166 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/1.079, allocations: 25.44 kB / 1.166 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/1.079, allocations: 25.16 kB / 1.166 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/1.079, allocations: 12.89 kB / 1.166 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001486/1.079, allocations: 151.6 kB / 1.166 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.079, allocations: 0 / 1.166 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006533/1.079, allocations: 124.4 kB / 1.166 GB, free: 8.422 MB / 0.7448 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.0008375/1.08, allocations: 1.627 MB / 1.168 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001258/1.082, allocations: 0.6802 MB / 1.168 GB, free: 22.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.082, allocations: 0 / 1.168 GB, free: 22.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/1.082, allocations: 256.8 kB / 1.169 GB, free: 22.13 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/1.082, allocations: 34 kB / 1.169 GB, free: 22.12 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/1.083, allocations: 0.4976 MB / 1.169 GB, free: 21.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/1.084, allocations: 0.7763 MB / 1.17 GB, free: 20.94 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002757/1.084, allocations: 99.78 kB / 1.17 GB, free: 20.87 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.084, allocations: 63.38 kB / 1.17 GB, free: 20.86 MB / 0.7605 GB Notification: Performance of SimCode: time 3.5e-07/1.084, allocations: 3.938 kB / 1.17 GB, free: 20.85 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/1.102, allocations: 5.351 MB / 1.175 GB, free: 17.78 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/1.102, allocations: 181.3 kB / 1.175 GB, free: 17.55 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/3.136, allocations: 0 / 1.175 GB, free: 17.55 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)