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.724/1.724, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001362/0.001362, allocations: 184.8 kB / 366.7 MB, free: 1.633 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.634/1.634, allocations: 205.2 MB / 0.626 GB, free: 7.137 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.0009004/0.0009003, allocations: 93.58 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.89e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7013/0.7014, allocations: 116.3 MB / 0.9734 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2111/0.9125, allocations: 158.6 MB / 1.128 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.9128, allocations: 95.94 kB / 1.128 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03/0.9428, allocations: 12.13 MB / 1.14 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9429, allocations: 0 / 1.14 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.9429, allocations: 4 kB / 1.14 GB, free: 11.23 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.00062/0.9435, allocations: 454.5 kB / 1.141 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.9436, allocations: 8.031 kB / 1.141 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005987/0.9442, allocations: 67.73 kB / 1.141 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.9445, allocations: 236.6 kB / 1.141 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.9445, allocations: 4 kB / 1.141 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.9446, allocations: 15.94 kB / 1.141 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002832/0.9448, allocations: 148.3 kB / 1.141 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.9452, allocations: 256.2 kB / 1.141 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.9453, allocations: 7.906 kB / 1.141 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.9453, allocations: 4 kB / 1.141 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.9453, allocations: 16.22 kB / 1.141 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.9469, allocations: 1.541 MB / 1.143 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.498e-05/0.947, allocations: 69.12 kB / 1.143 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.9471, allocations: 45.81 kB / 1.143 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.9471, allocations: 0 / 1.143 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.9472, allocations: 37.38 kB / 1.143 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.9472, allocations: 0 / 1.143 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004688/0.9477, allocations: 176.6 kB / 1.143 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.9477, allocations: 77.11 kB / 1.143 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.9479, allocations: 197.6 kB / 1.143 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.9479, allocations: 29.08 kB / 1.144 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.948, allocations: 159.5 kB / 1.144 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.9481, allocations: 31.55 kB / 1.144 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.9481, allocations: 4.094 kB / 1.144 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9482, allocations: 326.8 kB / 1.144 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.9483, allocations: 67.97 kB / 1.144 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.9485, allocations: 161 kB / 1.144 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.9487, allocations: 95.94 kB / 1.144 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9487, allocations: 4 kB / 1.144 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004234/0.9491, allocations: 257.2 kB / 1.145 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004141/0.9495, allocations: 1.143 MB / 1.146 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9496, allocations: 4 kB / 1.146 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9496, allocations: 4 kB / 1.146 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.9498, allocations: 51.91 kB / 1.146 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.9498, allocations: 11.92 kB / 1.146 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.95, allocations: 23.88 kB / 1.146 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.9501, allocations: 8 kB / 1.146 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.9501, allocations: 11.94 kB / 1.146 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003295/0.9504, allocations: 190.2 kB / 1.146 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9504, allocations: 4 kB / 1.146 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.9504, allocations: 4 kB / 1.146 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.9506, allocations: 48.28 kB / 1.146 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.9506, allocations: 11.94 kB / 1.146 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.9508, allocations: 11.98 kB / 1.146 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.9508, allocations: 14.42 kB / 1.146 GB, free: 4.809 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 9.036e-05/0.9509, allocations: 116.8 kB / 1.146 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001879/0.9511, allocations: 113.5 kB / 1.146 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.9512, allocations: 19.97 kB / 1.146 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.9514, allocations: 118.2 kB / 1.146 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.9514, allocations: 0 / 1.146 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9514, allocations: 4 kB / 1.146 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.9514, allocations: 11.94 kB / 1.146 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.9521, allocations: 0.5617 MB / 1.147 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.9521, allocations: 4.25 kB / 1.147 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.9522, allocations: 23.92 kB / 1.147 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.9522, allocations: 7.938 kB / 1.147 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.9522, allocations: 7.328 kB / 1.147 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.9522, allocations: 4 kB / 1.147 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9522, allocations: 4 kB / 1.147 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.9525, allocations: 403.8 kB / 1.147 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.9526, allocations: 108.9 kB / 1.148 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.9527, allocations: 0 / 1.148 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.9528, allocations: 11.98 kB / 1.148 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.9529, allocations: 7.984 kB / 1.148 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.9529, allocations: 4 kB / 1.148 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001308/0.953, allocations: 159.1 kB / 1.148 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.543e-06/0.953, allocations: 0 / 1.148 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004947/0.9535, allocations: 79.88 kB / 1.148 GB, free: 2.883 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.0007308/0.9543, allocations: 1.432 MB / 1.149 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.9546, allocations: 247.7 kB / 1.149 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.9547, allocations: 1.5 kB / 1.149 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.133e-05/0.9547, allocations: 39.92 kB / 1.149 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.955, allocations: 28.66 kB / 1.149 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007643/0.9558, allocations: 320.9 kB / 1.15 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.9562, allocations: 0.7451 MB / 1.15 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.9564, allocations: 74.17 kB / 1.151 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.9565, allocations: 43.42 kB / 1.151 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of SimCode: time 1.603e-06/0.9565, allocations: 0 / 1.151 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.9791, allocations: 2.921 MB / 1.153 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.9794, allocations: 175.5 kB / 1.154 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.668, allocations: 1 kB / 1.154 GB, free: 12.77 MB / 0.7605 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)