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.758/1.758, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001531/0.001532, allocations: 184.9 kB / 361.4 MB, free: 6.816 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.928/1.928, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.001326/0.001326, allocations: 94.3 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.682e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.726/0.726, allocations: 115.3 MB / 0.9645 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2216/0.9477, allocations: 160.7 MB / 1.121 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.948, allocations: 99.36 kB / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06163/1.01, allocations: 17.58 MB / 1.139 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.044e-06/1.01, allocations: 4 kB / 1.139 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.26e-05/1.01, allocations: 4 kB / 1.139 GB, free: 9.316 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.001668/1.011, allocations: 0.6171 MB / 1.139 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.012, allocations: 8.031 kB / 1.139 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/1.013, allocations: 100.5 kB / 1.139 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/1.013, allocations: 283.5 kB / 1.14 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/1.013, allocations: 4 kB / 1.14 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/1.014, allocations: 12 kB / 1.14 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006387/1.014, allocations: 250.7 kB / 1.14 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007812/1.015, allocations: 345.8 kB / 1.14 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.015, allocations: 0 / 1.14 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/1.015, allocations: 0 / 1.14 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/1.015, allocations: 28.3 kB / 1.14 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/1.018, allocations: 1.595 MB / 1.142 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/1.019, allocations: 383.4 kB / 1.142 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/1.019, allocations: 153.7 kB / 1.142 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/1.02, allocations: 93.08 kB / 1.142 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004568/1.02, allocations: 219.2 kB / 1.143 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.695e-06/1.02, allocations: 4 kB / 1.143 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001346/1.021, allocations: 420.8 kB / 1.143 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/1.021, allocations: 85.05 kB / 1.143 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/1.022, allocations: 191 kB / 1.143 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/1.022, allocations: 29.7 kB / 1.143 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/1.022, allocations: 160.2 kB / 1.143 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/1.022, allocations: 93.75 kB / 1.144 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/1.022, allocations: 4.094 kB / 1.144 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.022, allocations: 334.8 kB / 1.144 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/1.023, allocations: 124.3 kB / 1.144 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/1.023, allocations: 201.2 kB / 1.144 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/1.023, allocations: 160.6 kB / 1.144 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.023, allocations: 7.984 kB / 1.144 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001114/1.025, allocations: 428.3 kB / 1.145 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005158/1.025, allocations: 0.9002 MB / 1.146 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.025, allocations: 4 kB / 1.146 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/1.025, allocations: 40.81 kB / 1.146 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/1.026, allocations: 91.88 kB / 1.146 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/1.028, allocations: 1.44 MB / 1.147 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/1.028, allocations: 43.86 kB / 1.147 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/1.028, allocations: 15.98 kB / 1.147 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/1.028, allocations: 4 kB / 1.147 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007073/1.029, allocations: 366.6 kB / 1.148 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.029, allocations: 3.938 kB / 1.148 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/1.029, allocations: 36.83 kB / 1.148 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/1.029, allocations: 87.83 kB / 1.148 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/1.031, allocations: 1.434 MB / 1.149 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/1.031, allocations: 47.78 kB / 1.149 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/1.031, allocations: 15.98 kB / 1.149 GB, free: 13.85 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.0001564/1.031, allocations: 108.9 kB / 1.149 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000629/1.032, allocations: 352.2 kB / 1.15 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/1.032, allocations: 29.64 kB / 1.15 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007549/1.033, allocations: 391.9 kB / 1.15 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.033, allocations: 0 / 1.15 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.033, allocations: 5.5 kB / 1.15 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.033, allocations: 0 / 1.15 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006666/1.033, allocations: 0.5121 MB / 1.15 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.033, allocations: 0 / 1.15 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/1.034, allocations: 79.86 kB / 1.151 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/1.034, allocations: 36.83 kB / 1.151 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/1.034, allocations: 4 kB / 1.151 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/1.035, allocations: 1.346 MB / 1.152 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.035, allocations: 3.938 kB / 1.152 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/1.036, allocations: 0.4967 MB / 1.152 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/1.036, allocations: 140.7 kB / 1.153 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/1.036, allocations: 4 kB / 1.153 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/1.036, allocations: 35.95 kB / 1.153 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.036, allocations: 31.89 kB / 1.153 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/1.036, allocations: 12 kB / 1.153 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001598/1.037, allocations: 160.5 kB / 1.153 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.3e-07/1.037, allocations: 5.406 kB / 1.153 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006303/1.037, allocations: 127.9 kB / 1.153 GB, free: 9.75 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.001194/1.038, allocations: 1.278 MB / 1.154 GB, free: 8.422 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001312/1.04, allocations: 0.8282 MB / 1.155 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.04, allocations: 4.188 kB / 1.155 GB, free: 7.547 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004082/1.04, allocations: 273.7 kB / 1.155 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/1.04, allocations: 36.06 kB / 1.155 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/1.042, allocations: 0.5226 MB / 1.156 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/1.042, allocations: 0.7962 MB / 1.157 GB, free: 5.84 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000352/1.043, allocations: 97.97 kB / 1.157 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/1.043, allocations: 87.41 kB / 1.157 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/1.043, allocations: 0 / 1.157 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/1.071, allocations: 6.287 MB / 1.163 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/1.071, allocations: 186.5 kB / 1.163 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.96, allocations: 6.344 kB / 1.163 GB, free: 15.28 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)