Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.00134/0.00134, allocations: 189 kB / 377.1 MB, free: 1.531 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.802/1.802, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.0008998/0.0008995, allocations: 89.11 kB / 0.7509 GB, free: 63.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003674, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3068, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8419/1.149, allocations: 162.4 MB / 1.147 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/1.149, allocations: 100.5 kB / 1.147 GB, free: 17.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04281/1.192, allocations: 17.76 MB / 1.164 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.498e-06/1.192, allocations: 4 kB / 1.164 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.945e-05/1.192, allocations: 4 kB / 1.164 GB, free: 2.215 MB / 0.7292 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.001424/1.194, allocations: 0.6419 MB / 1.165 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/1.194, allocations: 12.02 kB / 1.165 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.231e-05/1.194, allocations: 58.55 kB / 1.165 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008168/1.195, allocations: 101.6 kB / 1.165 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/1.195, allocations: 282.2 kB / 1.166 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/1.195, allocations: 20.38 kB / 1.166 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/1.195, allocations: 19.44 kB / 1.166 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/1.196, allocations: 422.6 kB / 1.166 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.196, allocations: 11.88 kB / 1.166 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/1.196, allocations: 7.984 kB / 1.166 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/1.196, allocations: 25.23 kB / 1.166 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000808/1.197, allocations: 412.8 kB / 1.166 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/1.199, allocations: 1.653 MB / 1.168 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/1.201, allocations: 481.3 kB / 1.168 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/1.201, allocations: 98.25 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006031/1.201, allocations: 274.5 kB / 1.169 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.993e-06/1.201, allocations: 0 / 1.169 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.002018/1.203, allocations: 0.7868 MB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/1.203, allocations: 81.11 kB / 1.17 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/1.204, allocations: 200 kB / 1.17 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/1.204, allocations: 33.7 kB / 1.17 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/1.204, allocations: 164.4 kB / 1.17 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.204, allocations: 94.66 kB / 1.17 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/1.204, allocations: 8 kB / 1.17 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002107/1.204, allocations: 330.8 kB / 1.17 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/1.205, allocations: 180.2 kB / 1.171 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/1.205, allocations: 257.1 kB / 1.171 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/1.206, allocations: 239 kB / 1.171 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.206, allocations: 0 / 1.171 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001244/1.207, allocations: 0.5647 MB / 1.172 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005659/1.208, allocations: 0.9081 MB / 1.173 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.208, allocations: 0 / 1.173 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/1.208, allocations: 40.86 kB / 1.173 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/1.208, allocations: 95.86 kB / 1.173 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/1.211, allocations: 1.507 MB / 1.174 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/1.211, allocations: 51.86 kB / 1.174 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/1.211, allocations: 11.98 kB / 1.174 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/1.211, allocations: 4 kB / 1.174 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001196/1.212, allocations: 0.5102 MB / 1.175 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/1.212, allocations: 0 / 1.175 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/1.212, allocations: 40.98 kB / 1.175 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/1.213, allocations: 91.86 kB / 1.175 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/1.214, allocations: 1.502 MB / 1.176 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/1.215, allocations: 51.73 kB / 1.176 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/1.215, allocations: 12 kB / 1.176 GB, free: 5.234 MB / 0.7448 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 () * Number of clocked 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.0003068/1.215, allocations: 245 kB / 1.177 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/1.215, allocations: 27.67 kB / 1.177 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/1.216, allocations: 492.8 kB / 1.177 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.216, allocations: 8 kB / 1.177 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.216, allocations: 0 / 1.177 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/1.216, allocations: 4 kB / 1.177 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/1.217, allocations: 0.5669 MB / 1.178 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.217, allocations: 0 / 1.178 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/1.217, allocations: 87.95 kB / 1.178 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/1.217, allocations: 32.83 kB / 1.178 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/1.218, allocations: 8 kB / 1.178 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/1.219, allocations: 1.426 MB / 1.179 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.219, allocations: 1.062 kB / 1.179 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/1.22, allocations: 0.5933 MB / 1.18 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/1.22, allocations: 140.6 kB / 1.18 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/1.22, allocations: 8 kB / 1.18 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/1.22, allocations: 43.95 kB / 1.18 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/1.221, allocations: 31.95 kB / 1.18 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/1.221, allocations: 8 kB / 1.18 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001765/1.221, allocations: 168.5 kB / 1.18 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.221, allocations: 0 / 1.18 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007157/1.222, allocations: 147.9 kB / 1.18 GB, free: 0.9414 MB / 0.7448 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) * Number of clocked states: 0 () * 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.001774/1.223, allocations: 1.38 MB / 1.182 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001974/1.225, allocations: 1.013 MB / 1.183 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.225, allocations: 0 / 1.183 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006244/1.226, allocations: 342.5 kB / 1.183 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/1.226, allocations: 37.97 kB / 1.183 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/1.231, allocations: 3.347 MB / 1.186 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/1.231, allocations: 0.7995 MB / 1.187 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003577/1.231, allocations: 98.84 kB / 1.187 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/1.232, allocations: 79.41 kB / 1.187 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of SimCode: time 9.42e-07/1.232, allocations: 0 / 1.187 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/1.253, allocations: 6.568 MB / 1.194 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/1.254, allocations: 237.2 kB / 1.194 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/3.461, allocations: 3.938 kB / 1.194 GB, free: 3.066 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)