Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.648/2.648, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001582/0.001582, allocations: 177.5 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001121/0.001121, allocations: 99.8 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008059/0.0008057, allocations: 15.52 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2451, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.968/1.213, allocations: 161.3 MB / 1.136 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/1.214, allocations: 95.5 kB / 1.136 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06698/1.281, allocations: 17.74 MB / 1.153 GB, free: 22.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/1.281, allocations: 0 / 1.153 GB, free: 22.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.764e-05/1.281, allocations: 8 kB / 1.153 GB, free: 22.96 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.001629/1.282, allocations: 0.6478 MB / 1.154 GB, free: 22.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.282, allocations: 12.03 kB / 1.154 GB, free: 22.26 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.977e-05/1.282, allocations: 52.11 kB / 1.154 GB, free: 22.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/1.284, allocations: 106.6 kB / 1.154 GB, free: 22.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/1.284, allocations: 286.3 kB / 1.154 GB, free: 21.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/1.284, allocations: 15.61 kB / 1.154 GB, free: 21.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/1.284, allocations: 26.98 kB / 1.154 GB, free: 21.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/1.286, allocations: 423.9 kB / 1.155 GB, free: 21.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.286, allocations: 0 / 1.155 GB, free: 21.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/1.286, allocations: 7.25 kB / 1.155 GB, free: 21.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.735e-05/1.286, allocations: 27.8 kB / 1.155 GB, free: 21.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.287, allocations: 410.5 kB / 1.155 GB, free: 21.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/1.29, allocations: 1.647 MB / 1.157 GB, free: 19.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/1.292, allocations: 490.1 kB / 1.157 GB, free: 19.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/1.292, allocations: 96.47 kB / 1.157 GB, free: 19.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008469/1.293, allocations: 280.1 kB / 1.158 GB, free: 18.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 3.136e-06/1.293, allocations: 0 / 1.158 GB, free: 18.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.003098/1.296, allocations: 0.7773 MB / 1.158 GB, free: 18.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/1.296, allocations: 85.05 kB / 1.158 GB, free: 18.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/1.297, allocations: 204.8 kB / 1.159 GB, free: 17.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.686e-05/1.297, allocations: 33.2 kB / 1.159 GB, free: 17.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/1.297, allocations: 162.2 kB / 1.159 GB, free: 17.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/1.297, allocations: 98.08 kB / 1.159 GB, free: 17.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/1.297, allocations: 9.438 kB / 1.159 GB, free: 17.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.297, allocations: 332.8 kB / 1.159 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006991/1.298, allocations: 184.1 kB / 1.159 GB, free: 17.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007034/1.299, allocations: 250.5 kB / 1.16 GB, free: 16.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007604/1.3, allocations: 234.5 kB / 1.16 GB, free: 16.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.3, allocations: 3.953 kB / 1.16 GB, free: 16.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001902/1.301, allocations: 0.5632 MB / 1.16 GB, free: 16.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003772/1.302, allocations: 0.9041 MB / 1.161 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.302, allocations: 0 / 1.161 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/1.302, allocations: 38.39 kB / 1.161 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/1.303, allocations: 95.36 kB / 1.161 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/1.305, allocations: 1.517 MB / 1.163 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/1.306, allocations: 50.05 kB / 1.163 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/1.306, allocations: 12 kB / 1.163 GB, free: 13.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.306, allocations: 0 / 1.163 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001749/1.308, allocations: 0.5032 MB / 1.163 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.308, allocations: 4 kB / 1.163 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/1.308, allocations: 39.02 kB / 1.164 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/1.309, allocations: 90.89 kB / 1.164 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/1.311, allocations: 1.499 MB / 1.165 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/1.311, allocations: 55.05 kB / 1.165 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/1.311, allocations: 19.75 kB / 1.165 GB, free: 11.46 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.0003743/1.312, allocations: 238.9 kB / 1.165 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/1.312, allocations: 27.78 kB / 1.165 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/1.313, allocations: 489.3 kB / 1.166 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.314, allocations: 4 kB / 1.166 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.314, allocations: 4 kB / 1.166 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.314, allocations: 7.938 kB / 1.166 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009475/1.314, allocations: 0.5649 MB / 1.166 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.315, allocations: 0 / 1.166 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007022/1.315, allocations: 84.23 kB / 1.166 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/1.315, allocations: 43.56 kB / 1.167 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/1.316, allocations: 3 kB / 1.167 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/1.317, allocations: 1.424 MB / 1.168 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.317, allocations: 3.953 kB / 1.168 GB, free: 8.695 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/1.319, allocations: 0.6015 MB / 1.169 GB, free: 8.148 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/1.319, allocations: 138.8 kB / 1.169 GB, free: 8.004 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/1.319, allocations: 6.812 kB / 1.169 GB, free: 8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005763/1.32, allocations: 44.58 kB / 1.169 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/1.32, allocations: 29.77 kB / 1.169 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/1.32, allocations: 8 kB / 1.169 GB, free: 7.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002692/1.321, allocations: 176 kB / 1.169 GB, free: 7.785 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.321, allocations: 0 / 1.169 GB, free: 7.785 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009293/1.321, allocations: 144.6 kB / 1.169 GB, free: 7.66 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.002494/1.324, allocations: 1.375 MB / 1.17 GB, free: 6.336 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003195/1.327, allocations: 1.008 MB / 1.171 GB, free: 5.445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.327, allocations: 192 / 1.171 GB, free: 5.445 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/1.328, allocations: 345.5 kB / 1.172 GB, free: 5.148 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/1.329, allocations: 41.59 kB / 1.172 GB, free: 5.121 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006311/1.335, allocations: 3.336 MB / 1.175 GB, free: 2.012 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/1.336, allocations: 0.7982 MB / 1.176 GB, free: 1.195 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006004/1.337, allocations: 98.47 kB / 1.176 GB, free: 1.102 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/1.337, allocations: 87.28 kB / 1.176 GB, free: 1.07 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/1.337, allocations: 0 / 1.176 GB, free: 1.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/1.381, allocations: 6.581 MB / 1.182 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003725/1.381, allocations: 232 kB / 1.183 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/4.088, allocations: 0 / 1.183 GB, free: 10.52 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)