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.751/1.751, allocations: 288.2 MB / 303.2 MB, free: 8.238 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.001549/0.001549, allocations: 185.1 kB / 371.8 MB, free: 10.28 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.737/1.737, allocations: 205.4 MB / 0.6305 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009865/0.0009866, allocations: 96.09 kB / 0.7439 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 15.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2593, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8729/1.132, allocations: 161.4 MB / 1.137 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.133, allocations: 96.12 kB / 1.137 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03933/1.172, allocations: 17.75 MB / 1.155 GB, free: 21.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.476e-06/1.172, allocations: 4 kB / 1.155 GB, free: 21.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.22e-05/1.172, allocations: 4 kB / 1.155 GB, free: 21.47 MB / 0.698 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.001205/1.173, allocations: 0.6512 MB / 1.155 GB, free: 20.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.173, allocations: 8.031 kB / 1.155 GB, free: 20.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.427e-05/1.173, allocations: 52.61 kB / 1.155 GB, free: 20.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007601/1.174, allocations: 107.5 kB / 1.155 GB, free: 20.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/1.175, allocations: 275.8 kB / 1.156 GB, free: 20.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/1.175, allocations: 15.38 kB / 1.156 GB, free: 20.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/1.175, allocations: 19.62 kB / 1.156 GB, free: 20.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/1.175, allocations: 428.2 kB / 1.156 GB, free: 19.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/1.175, allocations: 4 kB / 1.156 GB, free: 19.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/1.176, allocations: 7.859 kB / 1.156 GB, free: 19.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/1.176, allocations: 28.17 kB / 1.156 GB, free: 19.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000809/1.176, allocations: 412.5 kB / 1.157 GB, free: 19.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/1.178, allocations: 1.659 MB / 1.158 GB, free: 18.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/1.179, allocations: 480.6 kB / 1.159 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/1.18, allocations: 89.11 kB / 1.159 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006401/1.18, allocations: 282.3 kB / 1.159 GB, free: 17.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.855e-06/1.18, allocations: 0 / 1.159 GB, free: 17.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001801/1.182, allocations: 0.7776 MB / 1.16 GB, free: 16.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/1.182, allocations: 88.98 kB / 1.16 GB, free: 16.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/1.182, allocations: 208.3 kB / 1.16 GB, free: 16.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/1.182, allocations: 32.64 kB / 1.16 GB, free: 16.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/1.183, allocations: 161.2 kB / 1.16 GB, free: 16.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/1.183, allocations: 96.7 kB / 1.16 GB, free: 16.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/1.183, allocations: 7.25 kB / 1.16 GB, free: 16.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.183, allocations: 333.2 kB / 1.161 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/1.183, allocations: 179.2 kB / 1.161 GB, free: 15.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/1.184, allocations: 260.5 kB / 1.161 GB, free: 15.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/1.184, allocations: 231.4 kB / 1.161 GB, free: 15.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.184, allocations: 4 kB / 1.161 GB, free: 15.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001162/1.185, allocations: 0.5604 MB / 1.162 GB, free: 14.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006269/1.186, allocations: 0.9039 MB / 1.163 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.186, allocations: 4 kB / 1.163 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/1.186, allocations: 46.52 kB / 1.163 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/1.187, allocations: 90.92 kB / 1.163 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/1.188, allocations: 1.512 MB / 1.164 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/1.189, allocations: 51.22 kB / 1.164 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/1.189, allocations: 11.38 kB / 1.164 GB, free: 12.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/1.189, allocations: 4 kB / 1.164 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001024/1.19, allocations: 0.5069 MB / 1.165 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/1.19, allocations: 0 / 1.165 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/1.19, allocations: 43.11 kB / 1.165 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/1.19, allocations: 90.86 kB / 1.165 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/1.192, allocations: 1.501 MB / 1.166 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/1.192, allocations: 47.61 kB / 1.166 GB, free: 9.992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.192, allocations: 15.88 kB / 1.166 GB, free: 9.98 MB / 0.698 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.0003168/1.192, allocations: 246.3 kB / 1.167 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/1.192, allocations: 27.67 kB / 1.167 GB, free: 9.723 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/1.193, allocations: 492 kB / 1.167 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/1.193, allocations: 4 kB / 1.167 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/1.193, allocations: 0 / 1.167 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.193, allocations: 0 / 1.167 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007104/1.194, allocations: 0.5745 MB / 1.168 GB, free: 8.793 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.194, allocations: 0 / 1.168 GB, free: 8.793 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/1.195, allocations: 83.45 kB / 1.168 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/1.195, allocations: 39.33 kB / 1.168 GB, free: 8.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/1.195, allocations: 7.75 kB / 1.168 GB, free: 8.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/1.196, allocations: 1.421 MB / 1.169 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.196, allocations: 0 / 1.169 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/1.197, allocations: 0.6005 MB / 1.17 GB, free: 6.664 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/1.197, allocations: 141.5 kB / 1.17 GB, free: 6.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/1.197, allocations: 3.656 kB / 1.17 GB, free: 6.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/1.198, allocations: 43.52 kB / 1.17 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.198, allocations: 35.14 kB / 1.17 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/1.198, allocations: 4 kB / 1.17 GB, free: 6.449 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002041/1.198, allocations: 174 kB / 1.17 GB, free: 6.305 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.198, allocations: 0 / 1.17 GB, free: 6.305 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007506/1.199, allocations: 145.8 kB / 1.17 GB, free: 6.18 MB / 0.698 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.001955/1.201, allocations: 1.387 MB / 1.172 GB, free: 4.844 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002405/1.203, allocations: 1.014 MB / 1.173 GB, free: 3.949 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/1.203, allocations: 0 / 1.173 GB, free: 3.949 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006923/1.204, allocations: 343.2 kB / 1.173 GB, free: 3.652 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/1.204, allocations: 37.64 kB / 1.173 GB, free: 3.629 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/1.21, allocations: 3.34 MB / 1.176 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/1.21, allocations: 0.7945 MB / 1.177 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003649/1.211, allocations: 94.2 kB / 1.177 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/1.211, allocations: 85.09 kB / 1.177 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of SimCode: time 2.014e-06/1.211, allocations: 0 / 1.177 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/1.231, allocations: 6.583 MB / 1.184 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.232, allocations: 245.8 kB / 1.184 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.499, allocations: 4.625 kB / 1.184 GB, free: 9.004 MB / 0.7136 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)