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.668/1.668, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001242/0.001242, allocations: 178.5 kB / 371.6 MB, free: 3.375 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.347/1.347, allocations: 205.2 MB / 0.6309 GB, free: 11.73 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.001201/0.001201, allocations: 91.14 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.258e-05/4.273e-05, allocations: 0 / 0.8663 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3468, allocations: 116.3 MB / 0.9799 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7819/1.129, allocations: 159.3 MB / 1.135 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.129, allocations: 90.33 kB / 1.136 GB, free: 30.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02943/1.159, allocations: 12.16 MB / 1.147 GB, free: 23.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.473e-06/1.159, allocations: 0 / 1.147 GB, free: 23.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.097e-05/1.159, allocations: 11.98 kB / 1.147 GB, free: 23.75 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006276/1.159, allocations: 450.9 kB / 1.148 GB, free: 23.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.159, allocations: 12.03 kB / 1.148 GB, free: 23.29 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/1.159, allocations: 48.47 kB / 1.148 GB, free: 23.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000607/1.16, allocations: 73.12 kB / 1.148 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/1.16, allocations: 228 kB / 1.148 GB, free: 22.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.868e-05/1.16, allocations: 10.77 kB / 1.148 GB, free: 22.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/1.16, allocations: 12.28 kB / 1.148 GB, free: 22.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/1.161, allocations: 279 kB / 1.149 GB, free: 22.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.161, allocations: 1.125 kB / 1.149 GB, free: 22.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/1.161, allocations: 11.02 kB / 1.149 GB, free: 22.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/1.161, allocations: 14.48 kB / 1.149 GB, free: 22.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/1.161, allocations: 204.5 kB / 1.149 GB, free: 22.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/1.163, allocations: 1.585 MB / 1.15 GB, free: 21.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.271e-05/1.163, allocations: 74.41 kB / 1.15 GB, free: 21.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/1.163, allocations: 51.3 kB / 1.15 GB, free: 21.01 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/1.163, allocations: 0.6562 kB / 1.15 GB, free: 21.01 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/1.163, allocations: 38.62 kB / 1.15 GB, free: 20.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/1.163, allocations: 0 / 1.15 GB, free: 20.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004385/1.163, allocations: 186.4 kB / 1.151 GB, free: 20.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/1.163, allocations: 81.05 kB / 1.151 GB, free: 20.72 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/1.164, allocations: 203.7 kB / 1.151 GB, free: 20.56 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/1.164, allocations: 29.7 kB / 1.151 GB, free: 20.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/1.164, allocations: 160.1 kB / 1.151 GB, free: 20.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/1.164, allocations: 30.97 kB / 1.151 GB, free: 20.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/1.164, allocations: 7.125 kB / 1.151 GB, free: 20.36 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.083e-05/1.164, allocations: 322.6 kB / 1.151 GB, free: 20.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/1.164, allocations: 72.22 kB / 1.151 GB, free: 20 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/1.164, allocations: 158 kB / 1.152 GB, free: 19.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/1.164, allocations: 109.9 kB / 1.152 GB, free: 19.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.164, allocations: 0 / 1.152 GB, free: 19.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003694/1.165, allocations: 266.1 kB / 1.152 GB, free: 19.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002431/1.165, allocations: 1.138 MB / 1.153 GB, free: 18.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.165, allocations: 8 kB / 1.153 GB, free: 18.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/1.165, allocations: 4.609 kB / 1.153 GB, free: 18.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/1.165, allocations: 56.58 kB / 1.153 GB, free: 18.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/1.165, allocations: 5.266 kB / 1.153 GB, free: 18.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/1.165, allocations: 26.5 kB / 1.153 GB, free: 18.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/1.165, allocations: 11.16 kB / 1.153 GB, free: 18.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/1.166, allocations: 4 kB / 1.153 GB, free: 18.32 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003053/1.166, allocations: 216.2 kB / 1.153 GB, free: 18.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/1.166, allocations: 0.7031 kB / 1.153 GB, free: 18.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/1.166, allocations: 4 kB / 1.153 GB, free: 18.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/1.166, allocations: 54.8 kB / 1.153 GB, free: 18.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.166, allocations: 6.656 kB / 1.153 GB, free: 18.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/1.166, allocations: 19.42 kB / 1.154 GB, free: 18.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/1.166, allocations: 8.703 kB / 1.154 GB, free: 18.11 MB / 0.7448 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 () * 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 6.762e-05/1.166, allocations: 126.6 kB / 1.154 GB, free: 17.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/1.166, allocations: 15.81 kB / 1.154 GB, free: 17.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/1.167, allocations: 110.1 kB / 1.154 GB, free: 17.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.167, allocations: 7.938 kB / 1.154 GB, free: 17.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.167, allocations: 0.6094 kB / 1.154 GB, free: 17.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.167, allocations: 1.594 kB / 1.154 GB, free: 17.9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/1.167, allocations: 0.6226 MB / 1.154 GB, free: 17.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.167, allocations: 4 kB / 1.154 GB, free: 17.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/1.167, allocations: 15.7 kB / 1.154 GB, free: 17.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.167, allocations: 7.953 kB / 1.154 GB, free: 17.31 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/1.167, allocations: 5.688 kB / 1.154 GB, free: 17.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.167, allocations: 3.938 kB / 1.154 GB, free: 17.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.167, allocations: 10.2 kB / 1.154 GB, free: 17.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/1.168, allocations: 410.8 kB / 1.155 GB, free: 16.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/1.168, allocations: 110.2 kB / 1.155 GB, free: 16.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/1.168, allocations: 5.406 kB / 1.155 GB, free: 16.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/1.168, allocations: 12.84 kB / 1.155 GB, free: 16.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/1.168, allocations: 13.58 kB / 1.155 GB, free: 16.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/1.168, allocations: 4 kB / 1.155 GB, free: 16.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001693/1.168, allocations: 164.4 kB / 1.155 GB, free: 16.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.168, allocations: 0 / 1.155 GB, free: 16.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004859/1.169, allocations: 87.44 kB / 1.155 GB, free: 16.52 MB / 0.7448 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 () * 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.0005728/1.169, allocations: 1.442 MB / 1.157 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003838/1.17, allocations: 268.9 kB / 1.157 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.17, allocations: 0 / 1.157 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.912e-05/1.17, allocations: 46.86 kB / 1.157 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/1.17, allocations: 27.05 kB / 1.157 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/1.171, allocations: 345.1 kB / 1.157 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/1.171, allocations: 0.7384 MB / 1.158 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002241/1.171, allocations: 79.8 kB / 1.158 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/1.171, allocations: 47.64 kB / 1.158 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/1.171, allocations: 0 / 1.158 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/1.189, allocations: 3.324 MB / 1.161 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/1.189, allocations: 187.4 kB / 1.162 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/3.044, allocations: 0 / 1.162 GB, free: 11.61 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)