Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.741/1.741, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001216/0.001216, allocations: 190.9 kB / 377.1 MB, free: 1.504 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.695/1.695, 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.001023/0.001023, allocations: 86.94 kB / 0.7509 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3113, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.869/1.18, allocations: 159.4 MB / 1.144 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/1.181, allocations: 99.53 kB / 1.144 GB, free: 19.36 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03015/1.211, allocations: 12.26 MB / 1.156 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.164e-06/1.211, allocations: 0 / 1.156 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.79e-05/1.211, allocations: 4 kB / 1.156 GB, free: 10.73 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006711/1.212, allocations: 479.1 kB / 1.157 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.212, allocations: 17.06 kB / 1.157 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/1.212, allocations: 46.55 kB / 1.157 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005848/1.212, allocations: 74.2 kB / 1.157 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/1.213, allocations: 226.7 kB / 1.157 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/1.213, allocations: 8 kB / 1.157 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/1.213, allocations: 15.44 kB / 1.157 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/1.213, allocations: 286.4 kB / 1.157 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/1.213, allocations: 4.547 kB / 1.157 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/1.213, allocations: 11.94 kB / 1.157 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/1.213, allocations: 8.234 kB / 1.157 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/1.213, allocations: 218.1 kB / 1.157 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/1.215, allocations: 1.579 MB / 1.159 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.684e-05/1.215, allocations: 77.12 kB / 1.159 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/1.215, allocations: 0 / 1.159 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/1.215, allocations: 36.17 kB / 1.159 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/1.215, allocations: 0 / 1.159 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004923/1.216, allocations: 228.5 kB / 1.159 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/1.216, allocations: 81.3 kB / 1.159 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/1.216, allocations: 197.5 kB / 1.16 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/1.216, allocations: 25.7 kB / 1.16 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/1.216, allocations: 163.5 kB / 1.16 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/1.216, allocations: 27.64 kB / 1.16 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/1.216, allocations: 8 kB / 1.16 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/1.216, allocations: 318.8 kB / 1.16 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/1.216, allocations: 75.95 kB / 1.16 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/1.216, allocations: 159.1 kB / 1.16 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/1.216, allocations: 107.8 kB / 1.16 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.216, allocations: 0 / 1.16 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003209/1.217, allocations: 280.7 kB / 1.161 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/1.217, allocations: 1.138 MB / 1.162 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.217, allocations: 8 kB / 1.162 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.217, allocations: 4 kB / 1.162 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/1.217, allocations: 55.91 kB / 1.162 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.217, allocations: 4.859 kB / 1.162 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/1.217, allocations: 19.97 kB / 1.162 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/1.217, allocations: 15.98 kB / 1.162 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/1.217, allocations: 6.188 kB / 1.162 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002523/1.218, allocations: 220.8 kB / 1.162 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/1.218, allocations: 4 kB / 1.162 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/1.218, allocations: 4 kB / 1.162 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/1.218, allocations: 51.91 kB / 1.162 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/1.218, allocations: 4 kB / 1.162 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/1.218, allocations: 19.92 kB / 1.162 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/1.218, allocations: 11.95 kB / 1.162 GB, free: 4.02 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.218, allocations: 225.3 kB / 1.162 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/1.218, allocations: 15.81 kB / 1.162 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/1.218, allocations: 115.4 kB / 1.163 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.218, allocations: 4 kB / 1.163 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.218, allocations: 0 / 1.163 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.218, allocations: 3.984 kB / 1.163 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/1.219, allocations: 0.6196 MB / 1.163 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.219, allocations: 5.062 kB / 1.163 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/1.219, allocations: 15.98 kB / 1.163 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.219, allocations: 7.953 kB / 1.163 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.219, allocations: 4 kB / 1.163 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.219, allocations: 4 kB / 1.163 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.219, allocations: 8.969 kB / 1.163 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/1.219, allocations: 403.7 kB / 1.164 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.858e-05/1.219, allocations: 116.7 kB / 1.164 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/1.219, allocations: 13.61 kB / 1.164 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/1.22, allocations: 15.98 kB / 1.164 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/1.22, allocations: 7.938 kB / 1.164 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-06/1.22, allocations: 8 kB / 1.164 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001375/1.22, allocations: 166.7 kB / 1.164 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.22, allocations: 0 / 1.164 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005042/1.22, allocations: 87.98 kB / 1.164 GB, free: 2.012 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006218/1.221, allocations: 1.441 MB / 1.165 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003924/1.221, allocations: 271.8 kB / 1.166 GB, free: 240 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.221, allocations: 0 / 1.166 GB, free: 240 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/1.221, allocations: 45.42 kB / 1.166 GB, free: 196 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/1.222, allocations: 28.7 kB / 1.166 GB, free: 168 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/1.224, allocations: 2.94 MB / 1.169 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/1.225, allocations: 0.7362 MB / 1.169 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002244/1.225, allocations: 78.14 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/1.225, allocations: 47.41 kB / 1.169 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/1.225, allocations: 0 / 1.169 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/1.24, allocations: 3.202 MB / 1.173 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.24, allocations: 211.7 kB / 1.173 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.985, allocations: 0 / 1.173 GB, free: 8.984 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)