Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.494/2.494, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001428/0.001428, allocations: 176.9 kB / 360.6 MB, free: 7.297 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.054/2.054, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001156/0.001155, allocations: 95.91 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.504e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8248/0.8249, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/1.121, allocations: 157.5 MB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003965/1.121, allocations: 94.75 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04906/1.17, allocations: 12.12 MB / 1.129 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.804e-06/1.17, allocations: 0 / 1.129 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.071e-05/1.17, allocations: 4 kB / 1.129 GB, free: 2.656 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.0008386/1.171, allocations: 462.4 kB / 1.13 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.171, allocations: 8.031 kB / 1.13 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008728/1.172, allocations: 71.66 kB / 1.13 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/1.172, allocations: 230.7 kB / 1.13 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/1.172, allocations: 7.25 kB / 1.13 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/1.172, allocations: 12 kB / 1.13 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004732/1.173, allocations: 152.2 kB / 1.13 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/1.174, allocations: 252.2 kB / 1.13 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/1.174, allocations: 11.84 kB / 1.13 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/1.174, allocations: 4 kB / 1.13 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/1.174, allocations: 20.16 kB / 1.13 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/1.176, allocations: 1.541 MB / 1.132 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/1.176, allocations: 61.2 kB / 1.132 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/1.177, allocations: 45.81 kB / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/1.177, allocations: 0 / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.177, allocations: 34.56 kB / 1.132 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.973e-06/1.177, allocations: 3.938 kB / 1.132 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0006594/1.177, allocations: 172.7 kB / 1.132 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/1.177, allocations: 77.11 kB / 1.132 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/1.178, allocations: 201.6 kB / 1.132 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/1.178, allocations: 25.7 kB / 1.132 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/1.178, allocations: 163.5 kB / 1.133 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/1.178, allocations: 27.66 kB / 1.133 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/1.178, allocations: 4 kB / 1.133 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.178, allocations: 322.8 kB / 1.133 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/1.178, allocations: 74.38 kB / 1.133 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/1.179, allocations: 151.1 kB / 1.133 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/1.179, allocations: 107.8 kB / 1.133 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.179, allocations: 0 / 1.133 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007072/1.18, allocations: 253.3 kB / 1.133 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004861/1.18, allocations: 1.144 MB / 1.135 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.18, allocations: 4 kB / 1.135 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.18, allocations: 4 kB / 1.135 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/1.181, allocations: 59.89 kB / 1.135 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/1.181, allocations: 7.359 kB / 1.135 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/1.181, allocations: 23.88 kB / 1.135 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/1.181, allocations: 8 kB / 1.135 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/1.181, allocations: 8 kB / 1.135 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005778/1.182, allocations: 195.6 kB / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.182, allocations: 4 kB / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/1.182, allocations: 4 kB / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/1.182, allocations: 48.28 kB / 1.135 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.182, allocations: 8 kB / 1.135 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/1.182, allocations: 14.42 kB / 1.135 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/1.182, allocations: 12 kB / 1.135 GB, free: 12.24 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 0.0001171/1.183, allocations: 116.8 kB / 1.135 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000308/1.183, allocations: 122.1 kB / 1.135 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/1.183, allocations: 11.91 kB / 1.135 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/1.183, allocations: 110.4 kB / 1.135 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/1.183, allocations: 0 / 1.135 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.183, allocations: 11.95 kB / 1.135 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.183, allocations: 3.984 kB / 1.135 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.184, allocations: 0.5695 MB / 1.136 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.184, allocations: 8.25 kB / 1.136 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/1.185, allocations: 19.98 kB / 1.136 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/1.185, allocations: 7.953 kB / 1.136 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/1.185, allocations: 0 / 1.136 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/1.185, allocations: 4 kB / 1.136 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/1.185, allocations: 11.88 kB / 1.136 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/1.185, allocations: 399.8 kB / 1.136 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/1.185, allocations: 104.9 kB / 1.136 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/1.185, allocations: 0 / 1.136 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/1.186, allocations: 11.98 kB / 1.136 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/1.186, allocations: 11.92 kB / 1.136 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/1.186, allocations: 4 kB / 1.136 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002198/1.186, allocations: 155.2 kB / 1.137 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.186, allocations: 0 / 1.137 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008022/1.187, allocations: 79.92 kB / 1.137 GB, free: 10.32 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.001048/1.188, allocations: 1.441 MB / 1.138 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006526/1.188, allocations: 251.1 kB / 1.138 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.188, allocations: 1.5 kB / 1.138 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/1.189, allocations: 43.91 kB / 1.138 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/1.189, allocations: 25.53 kB / 1.138 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/1.19, allocations: 324.9 kB / 1.139 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/1.191, allocations: 0.7405 MB / 1.139 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003993/1.191, allocations: 82.61 kB / 1.14 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/1.191, allocations: 47.42 kB / 1.14 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/1.191, allocations: 0 / 1.14 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/1.233, allocations: 2.905 MB / 1.142 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/1.233, allocations: 178.3 kB / 1.143 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.565, allocations: 0 / 1.143 GB, free: 4.199 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)