Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 172.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 94.34 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 9 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.225, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6416/0.8667, allocations: 168.5 MB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.867, allocations: 102.4 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2158/1.083, allocations: 96.34 MB / 1.159 GB, free: 72.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/1.083, allocations: 0 / 1.159 GB, free: 72.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001237/1.083, allocations: 55.98 kB / 1.159 GB, free: 72.24 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006032/1.089, allocations: 2.265 MB / 1.161 GB, free: 69.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.089, allocations: 11.97 kB / 1.161 GB, free: 69.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001503/1.091, allocations: 403.5 kB / 1.162 GB, free: 69.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/1.095, allocations: 0.75 MB / 1.162 GB, free: 68.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/1.099, allocations: 1.457 MB / 1.164 GB, free: 67.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/1.099, allocations: 193.2 kB / 1.164 GB, free: 67.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005335/1.099, allocations: 252 kB / 1.164 GB, free: 66.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006671/1.106, allocations: 4.19 MB / 1.168 GB, free: 62.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.971e-05/1.106, allocations: 7.938 kB / 1.168 GB, free: 62.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003174/1.106, allocations: 108 kB / 1.168 GB, free: 62.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/1.107, allocations: 168.2 kB / 1.169 GB, free: 62.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004976/1.112, allocations: 3.453 MB / 1.172 GB, free: 58.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01779/1.129, allocations: 21.52 MB / 1.193 GB, free: 35.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/1.13, allocations: 0.5239 MB / 1.193 GB, free: 34.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/1.13, allocations: 4.75 kB / 1.193 GB, free: 34.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/1.13, allocations: 58.44 kB / 1.193 GB, free: 34.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 3.005e-06/1.13, allocations: 3.984 kB / 1.193 GB, free: 34.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=56): time 0.004328/1.134, allocations: 3.996 MB / 1.197 GB, free: 30.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/1.134, allocations: 240.4 kB / 1.198 GB, free: 30.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/1.136, allocations: 1.206 MB / 1.199 GB, free: 29.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/1.136, allocations: 33.7 kB / 1.199 GB, free: 28.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/1.136, allocations: 1.23 MB / 1.2 GB, free: 27.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/1.136, allocations: 217.1 kB / 1.2 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/1.136, allocations: 28 kB / 1.2 GB, free: 27.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.136, allocations: 406.7 kB / 1.201 GB, free: 27.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008465/1.137, allocations: 0.7806 MB / 1.201 GB, free: 26.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/1.138, allocations: 1.466 MB / 1.203 GB, free: 24.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/1.139, allocations: 1.065 MB / 1.204 GB, free: 23.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.139, allocations: 4 kB / 1.204 GB, free: 23.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002584/1.142, allocations: 2.339 MB / 1.206 GB, free: 21.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00154/1.143, allocations: 9.396 MB / 1.215 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/1.144, allocations: 24 kB / 1.215 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.775e-05/1.144, allocations: 36 kB / 1.215 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/1.145, allocations: 455.1 kB / 1.216 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-05/1.145, allocations: 47.8 kB / 1.216 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/1.147, allocations: 275.3 kB / 1.216 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.147, allocations: 87.97 kB / 1.216 GB, free: 10.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.147, allocations: 4 kB / 1.216 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002473/1.15, allocations: 2 MB / 1.218 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.15, allocations: 24.03 kB / 1.218 GB, free: 8.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/1.15, allocations: 43.94 kB / 1.218 GB, free: 7.977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.151, allocations: 399.3 kB / 1.219 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.729e-05/1.151, allocations: 55.78 kB / 1.219 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.152, allocations: 175.5 kB / 1.219 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/1.152, allocations: 83.97 kB / 1.219 GB, free: 7.277 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.00218/1.154, allocations: 1.136 MB / 1.22 GB, free: 6.129 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/1.155, allocations: 106.7 kB / 1.22 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/1.156, allocations: 0.867 MB / 1.221 GB, free: 5.148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/1.156, allocations: 8 kB / 1.221 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.156, allocations: 0 / 1.221 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/1.156, allocations: 11.92 kB / 1.221 GB, free: 5.129 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009481/1.165, allocations: 8.138 MB / 1.229 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.166, allocations: 15.98 kB / 1.229 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/1.166, allocations: 139.7 kB / 1.229 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/1.166, allocations: 16 kB / 1.229 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/1.166, allocations: 20.72 kB / 1.229 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/1.166, allocations: 19.94 kB / 1.229 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.815e-05/1.166, allocations: 19.94 kB / 1.229 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/1.168, allocations: 2.435 MB / 1.232 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006952/1.169, allocations: 347.6 kB / 1.232 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/1.169, allocations: 24 kB / 1.232 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009567/1.17, allocations: 124.2 kB / 1.232 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/1.17, allocations: 71.67 kB / 1.232 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/1.17, allocations: 28 kB / 1.232 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001222/1.171, allocations: 0.9237 MB / 1.233 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/1.171, allocations: 4 kB / 1.233 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003181/1.175, allocations: 0.8124 MB / 1.234 GB, free: 7.332 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (56): * Single equations (assignments): 56 * 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.003813/1.178, allocations: 6.521 MB / 1.24 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003907/1.182, allocations: 2.538 MB / 1.243 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.182, allocations: 4 kB / 1.243 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006052/1.183, allocations: 454.3 kB / 1.243 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/1.184, allocations: 220.7 kB / 1.243 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02493/1.209, allocations: 26.51 MB / 1.269 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002861/1.212, allocations: 2.038 MB / 1.271 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002331/1.215, allocations: 0.8053 MB / 1.272 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.216, allocations: 0.7218 MB / 1.273 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of SimCode: time 1.203e-06/1.216, allocations: 3.938 kB / 1.273 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05289/1.269, allocations: 27.81 MB / 1.3 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/1.269, allocations: 222.8 kB / 1.3 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.767, allocations: 3.234 kB / 1.3 GB, free: 2.531 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)