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.648/1.648, allocations: 285.4 MB / 298 MB, free: 5.91 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.001044/0.001044, allocations: 184.9 kB / 366.4 MB, free: 2.07 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.459/1.459, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008412/0.0008412, allocations: 94.67 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.12e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8089, allocations: 115.3 MB / 0.971 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2557/1.065, allocations: 158.8 MB / 1.126 GB, free: 9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.065, allocations: 83.94 kB / 1.126 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04305/1.108, allocations: 16.22 MB / 1.142 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.312e-06/1.108, allocations: 4 kB / 1.142 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.894e-05/1.108, allocations: 4 kB / 1.142 GB, free: 8.648 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.0008776/1.109, allocations: 0.5176 MB / 1.142 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.109, allocations: 12.03 kB / 1.142 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.898e-05/1.109, allocations: 58.53 kB / 1.143 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/1.11, allocations: 95.61 kB / 1.143 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/1.11, allocations: 254.6 kB / 1.143 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/1.11, allocations: 20.36 kB / 1.143 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/1.111, allocations: 16 kB / 1.143 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/1.111, allocations: 349.7 kB / 1.143 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.111, allocations: 7.938 kB / 1.143 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/1.111, allocations: 12 kB / 1.143 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/1.111, allocations: 20.31 kB / 1.143 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/1.112, allocations: 297.8 kB / 1.144 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/1.114, allocations: 1.717 MB / 1.145 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/1.114, allocations: 325.1 kB / 1.146 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/1.114, allocations: 139.8 kB / 1.146 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/1.115, allocations: 85.11 kB / 1.146 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/1.115, allocations: 38.52 kB / 1.146 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/1.115, allocations: 0 / 1.146 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0008664/1.116, allocations: 386.3 kB / 1.146 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/1.116, allocations: 85.11 kB / 1.146 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/1.116, allocations: 175.8 kB / 1.146 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/1.116, allocations: 29.7 kB / 1.146 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.116, allocations: 165.5 kB / 1.147 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/1.116, allocations: 67.02 kB / 1.147 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/1.116, allocations: 8 kB / 1.147 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.116, allocations: 334.9 kB / 1.147 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/1.116, allocations: 112 kB / 1.147 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/1.117, allocations: 194.3 kB / 1.147 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/1.117, allocations: 148.2 kB / 1.147 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.117, allocations: 0 / 1.147 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006482/1.118, allocations: 408.6 kB / 1.148 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004257/1.118, allocations: 1.043 MB / 1.149 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.118, allocations: 7.984 kB / 1.149 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/1.118, allocations: 40.83 kB / 1.149 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/1.119, allocations: 71.88 kB / 1.149 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/1.12, allocations: 1.495 MB / 1.15 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/1.12, allocations: 34.11 kB / 1.15 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/1.12, allocations: 15.98 kB / 1.15 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/1.12, allocations: 8 kB / 1.15 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005605/1.121, allocations: 330.5 kB / 1.151 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.121, allocations: 4 kB / 1.151 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/1.121, allocations: 41.36 kB / 1.151 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/1.121, allocations: 67.89 kB / 1.151 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/1.122, allocations: 1.485 MB / 1.152 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/1.123, allocations: 33.73 kB / 1.152 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/1.123, allocations: 15.98 kB / 1.152 GB, free: 13.2 MB / 0.7605 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.000127/1.123, allocations: 124.8 kB / 1.153 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/1.123, allocations: 23.72 kB / 1.153 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005881/1.123, allocations: 326 kB / 1.153 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.124, allocations: 7.984 kB / 1.153 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.124, allocations: 0 / 1.153 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.124, allocations: 4 kB / 1.153 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/1.125, allocations: 0.9325 MB / 1.154 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.125, allocations: 0 / 1.154 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/1.125, allocations: 55.89 kB / 1.154 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/1.125, allocations: 36.83 kB / 1.154 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.125, allocations: 5.531 kB / 1.154 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/1.126, allocations: 1.406 MB / 1.155 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.126, allocations: 0 / 1.155 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/1.127, allocations: 0.596 MB / 1.156 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/1.127, allocations: 128.7 kB / 1.156 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/1.127, allocations: 7.938 kB / 1.156 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/1.127, allocations: 27.97 kB / 1.156 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/1.128, allocations: 27.86 kB / 1.156 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/1.128, allocations: 12 kB / 1.156 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001565/1.128, allocations: 147.7 kB / 1.156 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.128, allocations: 4 kB / 1.156 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006255/1.128, allocations: 115.9 kB / 1.156 GB, free: 8.91 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.001198/1.13, allocations: 1.632 MB / 1.158 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001088/1.131, allocations: 0.6783 MB / 1.159 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.131, allocations: 0 / 1.159 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003272/1.131, allocations: 256.2 kB / 1.159 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/1.131, allocations: 27.98 kB / 1.159 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/1.132, allocations: 0.4935 MB / 1.159 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/1.133, allocations: 0.7828 MB / 1.16 GB, free: 4.855 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002651/1.133, allocations: 95.22 kB / 1.16 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/1.133, allocations: 63.42 kB / 1.16 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of SimCode: time 5e-07/1.133, allocations: 3.938 kB / 1.16 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/1.151, allocations: 5.376 MB / 1.165 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/1.152, allocations: 201.3 kB / 1.166 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.931, allocations: 0 / 1.166 GB, free: 15.34 MB / 0.7761 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)