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.773/1.773, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001076/0.001076, allocations: 181.1 kB / 371.6 MB, free: 3.367 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.692/1.692, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008829/0.000883, allocations: 90.66 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.051e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3138, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7692/1.083, allocations: 162.3 MB / 1.138 GB, free: 27.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.083, allocations: 97.45 kB / 1.139 GB, free: 27.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04208/1.125, allocations: 17.64 MB / 1.156 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.402e-06/1.126, allocations: 0 / 1.156 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.801e-05/1.126, allocations: 8 kB / 1.156 GB, free: 18.66 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.0009283/1.126, allocations: 0.6157 MB / 1.156 GB, free: 18.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/1.127, allocations: 12.58 kB / 1.156 GB, free: 18.05 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.394e-05/1.127, allocations: 58.7 kB / 1.156 GB, free: 18.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000747/1.127, allocations: 101 kB / 1.157 GB, free: 17.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/1.128, allocations: 273 kB / 1.157 GB, free: 17.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/1.128, allocations: 18.52 kB / 1.157 GB, free: 17.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/1.128, allocations: 26.25 kB / 1.157 GB, free: 17.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/1.128, allocations: 372.2 kB / 1.157 GB, free: 17.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.128, allocations: 3.938 kB / 1.157 GB, free: 17.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/1.128, allocations: 10.17 kB / 1.157 GB, free: 17.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/1.128, allocations: 22.44 kB / 1.157 GB, free: 17.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/1.129, allocations: 312.9 kB / 1.157 GB, free: 17.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/1.13, allocations: 1.656 MB / 1.159 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/1.131, allocations: 396.2 kB / 1.159 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/1.131, allocations: 159 kB / 1.16 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/1.131, allocations: 96.33 kB / 1.16 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/1.132, allocations: 225.7 kB / 1.16 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.484e-06/1.132, allocations: 0 / 1.16 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0008143/1.133, allocations: 437.9 kB / 1.16 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/1.133, allocations: 85.05 kB / 1.16 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/1.133, allocations: 207.7 kB / 1.161 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/1.133, allocations: 29.58 kB / 1.161 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/1.133, allocations: 163.3 kB / 1.161 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/1.133, allocations: 95.14 kB / 1.161 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/1.133, allocations: 4.688 kB / 1.161 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/1.133, allocations: 341.8 kB / 1.161 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/1.133, allocations: 129.8 kB / 1.161 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/1.134, allocations: 201.2 kB / 1.162 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/1.134, allocations: 185 kB / 1.162 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.134, allocations: 0 / 1.162 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006652/1.134, allocations: 478.1 kB / 1.162 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/1.135, allocations: 0.9075 MB / 1.163 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.135, allocations: 0 / 1.163 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002044/1.135, allocations: 37.25 kB / 1.163 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/1.135, allocations: 94.95 kB / 1.163 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/1.136, allocations: 1.49 MB / 1.165 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/1.137, allocations: 52.95 kB / 1.165 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/1.137, allocations: 18.23 kB / 1.165 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/1.137, allocations: 5.266 kB / 1.165 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006361/1.137, allocations: 409.8 kB / 1.165 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/1.137, allocations: 7.938 kB / 1.165 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/1.138, allocations: 46.11 kB / 1.165 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/1.138, allocations: 81.19 kB / 1.165 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008217/1.139, allocations: 1.478 MB / 1.167 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/1.139, allocations: 57.06 kB / 1.167 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/1.139, allocations: 13.06 kB / 1.167 GB, free: 8.992 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 () * 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 9.627e-05/1.139, allocations: 126.4 kB / 1.167 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/1.139, allocations: 31.61 kB / 1.167 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006268/1.14, allocations: 406.3 kB / 1.167 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.14, allocations: 4 kB / 1.167 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/1.14, allocations: 0 / 1.167 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.14, allocations: 1.453 kB / 1.167 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/1.14, allocations: 0.5688 MB / 1.168 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.14, allocations: 4.094 kB / 1.168 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/1.141, allocations: 80.44 kB / 1.168 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/1.141, allocations: 35.34 kB / 1.168 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/1.141, allocations: 11.38 kB / 1.168 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008028/1.142, allocations: 1.411 MB / 1.169 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.142, allocations: 5.188 kB / 1.169 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000563/1.142, allocations: 0.5003 MB / 1.17 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/1.142, allocations: 138.3 kB / 1.17 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/1.143, allocations: 3.5 kB / 1.17 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/1.143, allocations: 47.8 kB / 1.17 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/1.143, allocations: 35.83 kB / 1.17 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/1.143, allocations: 7.5 kB / 1.17 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001332/1.143, allocations: 172 kB / 1.17 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.143, allocations: 0 / 1.17 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005523/1.144, allocations: 148.7 kB / 1.17 GB, free: 5.789 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) * 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.0008456/1.145, allocations: 1.276 MB / 1.172 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001126/1.146, allocations: 0.8701 MB / 1.172 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.146, allocations: 0 / 1.172 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003682/1.146, allocations: 296 kB / 1.173 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/1.146, allocations: 34.69 kB / 1.173 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/1.148, allocations: 0.5476 MB / 1.173 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/1.148, allocations: 0.7934 MB / 1.174 GB, free: 18.45 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003277/1.148, allocations: 101.2 kB / 1.174 GB, free: 18.39 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/1.148, allocations: 89.19 kB / 1.174 GB, free: 18.36 MB / 0.7605 GB Notification: Performance of SimCode: time 8.41e-07/1.148, allocations: 0 / 1.174 GB, free: 18.36 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/1.167, allocations: 6.858 MB / 1.181 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/1.168, allocations: 212.5 kB / 1.181 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/3.192, allocations: 0 / 1.181 GB, free: 12.3 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)