Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.617/1.617, allocations: 288.4 MB / 303.6 MB, free: 8.07 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.001413/0.001413, allocations: 175.4 kB / 372.2 MB, free: 10.15 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.606/1.606, allocations: 205.4 MB / 0.631 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000856/0.000856, allocations: 102.3 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 11.91 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2289, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01297/0.2419, allocations: 15.16 MB / 0.995 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008242/0.2502, allocations: 5.973 MB / 1.001 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.2518, allocations: 39.88 kB / 1.001 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.2529, allocations: 309.7 kB / 1.001 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.2549, allocations: 0.7237 MB / 1.002 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.2575, allocations: 0.8573 MB / 1.003 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003997/0.2615, allocations: 4.478 MB / 1.007 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009029/0.2706, allocations: 6.063 MB / 1.013 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.2729, allocations: 1.156 MB / 1.014 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.276, allocations: 1.686 MB / 1.016 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007779/0.2768, allocations: 160 kB / 1.016 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.2787, allocations: 0.7136 MB / 1.017 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.2803, allocations: 1.216 MB / 1.018 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.2816, allocations: 1.192 MB / 1.019 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004219/0.2859, allocations: 4.644 MB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.2859, allocations: 7.984 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2859, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001135/0.286, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.6511 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.004876/0.2909, allocations: 2.2 MB / 1.026 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.291, allocations: 8.031 kB / 1.026 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006586/0.2916, allocations: 407.7 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00355/0.2952, allocations: 0.7939 MB / 1.027 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.2976, allocations: 1.404 MB / 1.028 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.2978, allocations: 193.5 kB / 1.028 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003742/0.2981, allocations: 252.3 kB / 1.029 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007062/0.3052, allocations: 4.568 MB / 1.033 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/0.3053, allocations: 7.938 kB / 1.033 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/0.3055, allocations: 119.9 kB / 1.033 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/0.3057, allocations: 172.3 kB / 1.033 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005915/0.3117, allocations: 3.816 MB / 1.037 GB, free: 464 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02335/0.335, allocations: 21.44 MB / 1.058 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.3374, allocations: 2.239 MB / 1.06 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009481/0.3384, allocations: 0.7214 MB / 1.061 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.3384, allocations: 15.98 kB / 1.061 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.3385, allocations: 50.36 kB / 1.061 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.386e-06/0.3385, allocations: 0 / 1.061 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.006292/0.3448, allocations: 4.182 MB / 1.065 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.345, allocations: 251.5 kB / 1.065 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.3466, allocations: 1.1 MB / 1.066 GB, free: 100 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.3467, allocations: 37.7 kB / 1.066 GB, free: 56 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.5129/0.8596, allocations: 1.184 MB / 1.068 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003877/0.8601, allocations: 254.3 kB / 1.068 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.8602, allocations: 29.22 kB / 1.068 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.8604, allocations: 410.7 kB / 1.068 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.8617, allocations: 0.6964 MB / 1.069 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.8632, allocations: 1.401 MB / 1.07 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.8657, allocations: 2.147 MB / 1.072 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/0.8657, allocations: 7.594 kB / 1.072 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00386/0.8696, allocations: 2.173 MB / 1.075 GB, free: 80.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000587/0.8702, allocations: 0.7832 MB / 1.075 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.192e-05/0.8703, allocations: 24.25 kB / 1.075 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.953e-05/0.8704, allocations: 33.03 kB / 1.075 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.872, allocations: 433.5 kB / 1.076 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.998e-05/0.8721, allocations: 45.22 kB / 1.076 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.8735, allocations: 189.6 kB / 1.076 GB, free: 79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.8736, allocations: 85.59 kB / 1.076 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.8737, allocations: 7.469 kB / 1.076 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003537/0.8772, allocations: 1.844 MB / 1.078 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.765e-05/0.8773, allocations: 23.38 kB / 1.078 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-05/0.8773, allocations: 34.91 kB / 1.078 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.8787, allocations: 388.4 kB / 1.078 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.244e-05/0.8788, allocations: 53.62 kB / 1.078 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.88, allocations: 136.9 kB / 1.078 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.8801, allocations: 86.11 kB / 1.079 GB, free: 78.17 MB / 0.6823 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.002368/0.8825, allocations: 1.131 MB / 1.08 GB, free: 77.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/0.8829, allocations: 102.5 kB / 1.08 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.8849, allocations: 1.09 MB / 1.081 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.8849, allocations: 16.48 kB / 1.081 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.8849, allocations: 3.281 kB / 1.081 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.8849, allocations: 10.53 kB / 1.081 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.9009, allocations: 10.18 MB / 1.091 GB, free: 72.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.9009, allocations: 15.81 kB / 1.091 GB, free: 72.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006187/0.9015, allocations: 188 kB / 1.091 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.609e-05/0.9016, allocations: 19.88 kB / 1.091 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/0.9016, allocations: 30.73 kB / 1.091 GB, free: 72.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.693e-05/0.9017, allocations: 31.5 kB / 1.091 GB, free: 72.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.086e-05/0.9017, allocations: 25.5 kB / 1.091 GB, free: 72.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.9039, allocations: 2.155 MB / 1.093 GB, free: 71.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/0.9045, allocations: 337.8 kB / 1.094 GB, free: 70.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.9046, allocations: 37.34 kB / 1.094 GB, free: 70.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009664/0.9056, allocations: 100.8 kB / 1.094 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.9058, allocations: 94.55 kB / 1.094 GB, free: 70.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/0.9059, allocations: 38.09 kB / 1.094 GB, free: 70.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001192/0.907, allocations: 0.7575 MB / 1.095 GB, free: 70.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9071, allocations: 7.5 kB / 1.095 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003353/0.9104, allocations: 0.7239 MB / 1.095 GB, free: 70.52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.002079/0.9125, allocations: 2.749 MB / 1.098 GB, free: 68.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003697/0.9162, allocations: 2.454 MB / 1.1 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.9162, allocations: 2.531 kB / 1.1 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007209/0.917, allocations: 0.5687 MB / 1.101 GB, free: 67.31 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/0.9206, allocations: 239.2 kB / 1.101 GB, free: 67.24 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.9373, allocations: 10.56 MB / 1.111 GB, free: 60.76 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/0.9393, allocations: 2.01 MB / 1.113 GB, free: 59.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002061/0.9414, allocations: 0.8573 MB / 1.114 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007873/0.9422, allocations: 0.7272 MB / 1.115 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/0.9422, allocations: 0 / 1.115 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9086/1.851, allocations: 28.35 MB / 1.143 GB, free: 34.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/1.851, allocations: 237.4 kB / 1.143 GB, free: 34.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/4.396, allocations: 0 / 1.143 GB, free: 34.57 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)