Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",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.705/1.705, allocations: 285.4 MB / 298 MB, free: 5.906 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.001115/0.001115, allocations: 176.9 kB / 366.4 MB, free: 2.074 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.671/1.671, 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.0009415/0.0009418, allocations: 95.2 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.995e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7007, allocations: 115.3 MB / 0.971 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.212/0.9128, allocations: 161.4 MB / 1.129 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.9131, allocations: 91.94 kB / 1.129 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04516/0.9582, allocations: 17.65 MB / 1.146 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9583, allocations: 0 / 1.146 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.012e-05/0.9583, allocations: 4 kB / 1.146 GB, free: 4.594 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001116/0.9594, allocations: 0.621 MB / 1.147 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.9595, allocations: 12.03 kB / 1.147 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.991e-05/0.9596, allocations: 62.53 kB / 1.147 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000791/0.9604, allocations: 95.53 kB / 1.147 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.9608, allocations: 283.7 kB / 1.147 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.9608, allocations: 12.44 kB / 1.147 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.9609, allocations: 20 kB / 1.147 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.9615, allocations: 378.6 kB / 1.147 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.9615, allocations: 0 / 1.147 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.9616, allocations: 11.98 kB / 1.147 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.9616, allocations: 24.36 kB / 1.147 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.9622, allocations: 308.9 kB / 1.148 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.9642, allocations: 1.665 MB / 1.149 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000816/0.9651, allocations: 385.4 kB / 1.15 GB, free: 476 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.9653, allocations: 157.7 kB / 1.15 GB, free: 312 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.9655, allocations: 85.11 kB / 1.15 GB, free: 208 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/0.9659, allocations: 234.9 kB / 1.15 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.9659, allocations: 3.938 kB / 1.15 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28): time 0.0009515/0.9669, allocations: 432.9 kB / 1.151 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.9669, allocations: 85.2 kB / 1.151 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.9671, allocations: 200.7 kB / 1.151 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.9672, allocations: 33.7 kB / 1.151 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.9673, allocations: 164.2 kB / 1.151 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.238e-05/0.9674, allocations: 90.66 kB / 1.151 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.9674, allocations: 8 kB / 1.151 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.9675, allocations: 330.8 kB / 1.151 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.9678, allocations: 136.3 kB / 1.152 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.968, allocations: 213.1 kB / 1.152 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.9683, allocations: 186.8 kB / 1.152 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9683, allocations: 0 / 1.152 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008153/0.9692, allocations: 473.4 kB / 1.152 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003715/0.9695, allocations: 0.9019 MB / 1.153 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.9696, allocations: 4 kB / 1.153 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/0.9698, allocations: 40.83 kB / 1.153 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.9703, allocations: 87.86 kB / 1.153 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.9717, allocations: 1.501 MB / 1.155 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.9721, allocations: 51.92 kB / 1.155 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.9722, allocations: 15.98 kB / 1.155 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.9722, allocations: 4 kB / 1.155 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000706/0.9729, allocations: 417.3 kB / 1.155 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.9729, allocations: 8.281 kB / 1.155 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.9731, allocations: 36.83 kB / 1.155 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.9734, allocations: 89.92 kB / 1.155 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.9747, allocations: 1.485 MB / 1.157 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.9751, allocations: 51.8 kB / 1.157 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.9751, allocations: 16.06 kB / 1.157 GB, free: 8.496 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0001664/0.9753, allocations: 120.9 kB / 1.157 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.9754, allocations: 27.67 kB / 1.157 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007949/0.9762, allocations: 404.5 kB / 1.157 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.9762, allocations: 4 kB / 1.157 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.9762, allocations: 0 / 1.157 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.9762, allocations: 0 / 1.157 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007782/0.977, allocations: 0.5661 MB / 1.158 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.977, allocations: 5.547 kB / 1.158 GB, free: 7.301 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.9774, allocations: 83.95 kB / 1.158 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001466/0.9776, allocations: 36.83 kB / 1.158 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.9776, allocations: 4 kB / 1.158 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.9788, allocations: 1.408 MB / 1.16 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9788, allocations: 0 / 1.16 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.9795, allocations: 0.5154 MB / 1.16 GB, free: 5.074 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.9797, allocations: 135.2 kB / 1.16 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.9798, allocations: 8 kB / 1.16 GB, free: 4.918 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.9801, allocations: 43.95 kB / 1.16 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.9802, allocations: 31.94 kB / 1.16 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.9803, allocations: 12 kB / 1.16 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000188/0.9805, allocations: 169.4 kB / 1.16 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9805, allocations: 0 / 1.16 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000679/0.9812, allocations: 143.9 kB / 1.161 GB, free: 4.523 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00117/0.9823, allocations: 1.282 MB / 1.162 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.9838, allocations: 0.8754 MB / 1.163 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.9838, allocations: 1.125 kB / 1.163 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.9843, allocations: 286.6 kB / 1.163 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.9846, allocations: 42.05 kB / 1.163 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.9861, allocations: 0.5412 MB / 1.163 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.9864, allocations: 0.7885 MB / 1.164 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004092/0.9869, allocations: 104.8 kB / 1.164 GB, free: 448 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.9871, allocations: 90.22 kB / 1.164 GB, free: 360 kB / 0.7605 GB Notification: Performance of SimCode: time 7.91e-07/0.9871, allocations: 0 / 1.164 GB, free: 360 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/1.009, allocations: 6.872 MB / 1.171 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.009, allocations: 216.2 kB / 1.171 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.895, allocations: 6.891 kB / 1.171 GB, free: 9.562 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)