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.598/2.598, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001425/0.001426, allocations: 184.8 kB / 360.6 MB, free: 7.273 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.096/2.096, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001031/0.001031, allocations: 91.08 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.049e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7923/0.7924, allocations: 115.3 MB / 0.9634 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2786/1.071, allocations: 160.5 MB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/1.071, allocations: 94.48 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07765/1.149, allocations: 17.58 MB / 1.137 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.624e-06/1.149, allocations: 0 / 1.137 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.666e-05/1.149, allocations: 6.906 kB / 1.137 GB, free: 10.14 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.00163/1.151, allocations: 0.6133 MB / 1.138 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.151, allocations: 11.97 kB / 1.138 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/1.152, allocations: 108.7 kB / 1.138 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005907/1.153, allocations: 278.2 kB / 1.138 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/1.153, allocations: 10.69 kB / 1.138 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/1.153, allocations: 12 kB / 1.138 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007421/1.154, allocations: 244.8 kB / 1.139 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/1.155, allocations: 341.8 kB / 1.139 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.155, allocations: 3.938 kB / 1.139 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/1.155, allocations: 4 kB / 1.139 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.734e-05/1.155, allocations: 20.36 kB / 1.139 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/1.158, allocations: 1.603 MB / 1.141 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.159, allocations: 378.3 kB / 1.141 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/1.16, allocations: 157.7 kB / 1.141 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/1.16, allocations: 89.09 kB / 1.141 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005259/1.16, allocations: 215.2 kB / 1.141 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.916e-06/1.16, allocations: 0 / 1.141 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001584/1.162, allocations: 428.8 kB / 1.142 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/1.162, allocations: 81.11 kB / 1.142 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/1.162, allocations: 199 kB / 1.142 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/1.163, allocations: 25.7 kB / 1.142 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/1.163, allocations: 156.2 kB / 1.142 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/1.163, allocations: 90.66 kB / 1.142 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/1.163, allocations: 0 / 1.142 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.163, allocations: 342.9 kB / 1.143 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/1.163, allocations: 124.3 kB / 1.143 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/1.164, allocations: 195.4 kB / 1.143 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/1.164, allocations: 172.6 kB / 1.143 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.164, allocations: 0 / 1.143 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001374/1.166, allocations: 424.4 kB / 1.144 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004182/1.166, allocations: 0.9028 MB / 1.144 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.166, allocations: 0 / 1.144 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003431/1.167, allocations: 44.81 kB / 1.144 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/1.167, allocations: 83.88 kB / 1.145 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/1.169, allocations: 1.443 MB / 1.146 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/1.17, allocations: 55.8 kB / 1.146 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/1.17, allocations: 15.98 kB / 1.146 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.17, allocations: 4 kB / 1.146 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/1.171, allocations: 358.8 kB / 1.146 GB, free: 428 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.171, allocations: 6.438 kB / 1.146 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/1.172, allocations: 40.72 kB / 1.146 GB, free: 380 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/1.172, allocations: 87.88 kB / 1.146 GB, free: 292 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/1.174, allocations: 1.422 MB / 1.148 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/1.175, allocations: 47.78 kB / 1.148 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/1.175, allocations: 15.98 kB / 1.148 GB, free: 14.68 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.0002078/1.175, allocations: 119 kB / 1.148 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001145/1.176, allocations: 346 kB / 1.148 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/1.176, allocations: 23.72 kB / 1.148 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/1.178, allocations: 393.6 kB / 1.149 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.178, allocations: 4 kB / 1.149 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.178, allocations: 0 / 1.149 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.178, allocations: 192 / 1.149 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009875/1.179, allocations: 0.5121 MB / 1.149 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.179, allocations: 4.094 kB / 1.149 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/1.179, allocations: 83.86 kB / 1.149 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/1.18, allocations: 36.81 kB / 1.149 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/1.18, allocations: 4 kB / 1.149 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/1.181, allocations: 1.347 MB / 1.151 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/1.181, allocations: 10.98 kB / 1.151 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/1.183, allocations: 0.4925 MB / 1.151 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/1.183, allocations: 136.7 kB / 1.151 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/1.183, allocations: 0 / 1.151 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005881/1.184, allocations: 39.95 kB / 1.151 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/1.184, allocations: 31.95 kB / 1.151 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/1.184, allocations: 8 kB / 1.151 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002721/1.184, allocations: 164.5 kB / 1.152 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.6e-07/1.184, allocations: 0 / 1.152 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001059/1.185, allocations: 127.9 kB / 1.152 GB, free: 10.58 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.001941/1.187, allocations: 1.272 MB / 1.153 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002218/1.19, allocations: 0.8281 MB / 1.154 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.19, allocations: 0 / 1.154 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008035/1.191, allocations: 277.9 kB / 1.154 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/1.191, allocations: 32.41 kB / 1.154 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/1.194, allocations: 0.5254 MB / 1.155 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/1.194, allocations: 0.7923 MB / 1.155 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006754/1.195, allocations: 109.1 kB / 1.155 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/1.195, allocations: 79.41 kB / 1.156 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.122e-06/1.195, allocations: 0 / 1.156 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04923/1.244, allocations: 6.299 MB / 1.162 GB, free: 336 kB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003531/1.245, allocations: 175.7 kB / 1.162 GB, free: 140 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.857, allocations: 3.938 kB / 1.162 GB, free: 136 kB / 0.7605 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)