Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",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 1.713/1.713, allocations: 287.4 MB / 302.6 MB, free: 8.277 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.00135/0.001351, allocations: 173.6 kB / 371.1 MB, free: 10.75 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.412/1.412, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007563/0.0007562, allocations: 88.98 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004896, allocations: 15.38 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1691, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.01179/0.1809, allocations: 15.52 MB / 0.9939 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007017/0.188, allocations: 5.794 MB / 0.9996 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009923/0.189, allocations: 35.94 kB / 0.9996 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008747/0.1899, allocations: 305.8 kB / 0.9999 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.1918, allocations: 0.8054 MB / 1.001 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1932, allocations: 0.6067 MB / 1.001 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002998/0.1962, allocations: 4.918 MB / 1.006 GB, free: 4 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008448/0.2047, allocations: 6.709 MB / 1.013 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.2066, allocations: 1.304 MB / 1.014 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/0.2093, allocations: 1.908 MB / 1.016 GB, free: 6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005197/0.2098, allocations: 192 kB / 1.016 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.2113, allocations: 0.5931 MB / 1.017 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.2128, allocations: 1.427 MB / 1.018 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.2133, allocations: 0.5551 MB / 1.018 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00428/0.2176, allocations: 5.365 MB / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.2177, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2177, allocations: 3.938 kB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.234e-05/0.2178, allocations: 0 / 1.024 GB, free: 13.84 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.004186/0.222, allocations: 2.403 MB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.222, allocations: 12.03 kB / 1.026 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005919/0.2226, allocations: 454.3 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009558/0.2322, allocations: 2.01 MB / 1.028 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.2348, allocations: 1.604 MB / 1.03 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.235, allocations: 222.3 kB / 1.03 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004878/0.2355, allocations: 296.3 kB / 1.031 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.2458, allocations: 5.746 MB / 1.036 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.2459, allocations: 0 / 1.036 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.2462, allocations: 120 kB / 1.036 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002734/0.2465, allocations: 208.8 kB / 1.036 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.2578, allocations: 5.795 MB / 1.042 GB, free: 10.77 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.2799, allocations: 22.87 MB / 1.064 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3483/0.6282, allocations: 2.5 MB / 1.067 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004539/0.6328, allocations: 1.627 MB / 1.068 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.633, allocations: 120.2 kB / 1.069 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.6331, allocations: 53.41 kB / 1.069 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=116): time 4.037e-06/0.6331, allocations: 3.75 kB / 1.069 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=146): time 0.03425/0.6673, allocations: 11.59 MB / 1.08 GB, free: 79.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.6674, allocations: 227.3 kB / 1.08 GB, free: 79.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.6686, allocations: 1.039 MB / 1.081 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.6687, allocations: 45.83 kB / 1.081 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005782/0.6693, allocations: 1.245 MB / 1.082 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.6697, allocations: 0.5034 MB / 1.083 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.6698, allocations: 40.16 kB / 1.083 GB, free: 77.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.67, allocations: 432.3 kB / 1.083 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004077/0.6741, allocations: 1.762 MB / 1.085 GB, free: 76.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004356/0.6784, allocations: 2.45 MB / 1.087 GB, free: 74.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008252/0.6867, allocations: 4.236 MB / 1.092 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.481e-05/0.6867, allocations: 9.5 kB / 1.092 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01018/0.6969, allocations: 5.055 MB / 1.097 GB, free: 71.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002879/0.6972, allocations: 0.7311 MB / 1.097 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/0.6973, allocations: 21.88 kB / 1.097 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/0.6997, allocations: 0.8855 MB / 1.098 GB, free: 70.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/0.7027, allocations: 0.7606 MB / 1.099 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.7133, allocations: 12.81 MB / 1.111 GB, free: 59.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/0.7162, allocations: 468.4 kB / 1.112 GB, free: 58.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.7166, allocations: 114.6 kB / 1.112 GB, free: 58.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.7166, allocations: 3.906 kB / 1.112 GB, free: 58.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01047/0.7271, allocations: 4.904 MB / 1.117 GB, free: 56.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.335e-05/0.7271, allocations: 22 kB / 1.117 GB, free: 56.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.729, allocations: 0.7567 MB / 1.118 GB, free: 55.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.7318, allocations: 0.7593 MB / 1.118 GB, free: 55.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009187/0.741, allocations: 12.64 MB / 1.131 GB, free: 44.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.7434, allocations: 450.8 kB / 1.131 GB, free: 44.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.7436, allocations: 120.9 kB / 1.131 GB, free: 44.47 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (232): * Single equations (assignments): 226 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00154/0.7452, allocations: 1.288 MB / 1.132 GB, free: 43.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.7455, allocations: 119.3 kB / 1.133 GB, free: 43.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008983/0.7545, allocations: 4.375 MB / 1.137 GB, free: 40.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.7545, allocations: 16 kB / 1.137 GB, free: 40.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.7546, allocations: 15.92 kB / 1.137 GB, free: 40.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.7546, allocations: 7.594 kB / 1.137 GB, free: 40.01 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.7671, allocations: 8.245 MB / 1.145 GB, free: 31.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.7671, allocations: 4 kB / 1.145 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/0.7692, allocations: 0.5193 MB / 1.145 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/0.7709, allocations: 0.7138 MB / 1.146 GB, free: 30.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.771, allocations: 51.95 kB / 1.146 GB, free: 30.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008485/0.7795, allocations: 12.28 MB / 1.158 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7795, allocations: 11.94 kB / 1.158 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008124/0.7877, allocations: 4.214 MB / 1.162 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/0.7883, allocations: 0.4916 MB / 1.163 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.7885, allocations: 28 kB / 1.163 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/0.7906, allocations: 395.3 kB / 1.163 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.7908, allocations: 125.6 kB / 1.163 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.7909, allocations: 59.95 kB / 1.163 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006668/0.7916, allocations: 0.7449 MB / 1.164 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7916, allocations: 0 / 1.164 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00287/0.7944, allocations: 1.119 MB / 1.165 GB, free: 9.926 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (101): * Single equations (assignments): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008204/0.8027, allocations: 4.801 MB / 1.17 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0146/0.8173, allocations: 8.023 MB / 1.178 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8173, allocations: 1.969 kB / 1.178 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005286/0.8226, allocations: 2.713 MB / 1.18 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.8242, allocations: 179.6 kB / 1.181 GB, free: 9.875 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0351/0.8594, allocations: 17.64 MB / 1.198 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/0.8614, allocations: 2.281 MB / 1.2 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003473/0.8649, allocations: 1.233 MB / 1.201 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.8661, allocations: 0.8507 MB / 1.202 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.8661, allocations: 0 / 1.202 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2865/1.153, allocations: 47.45 MB / 1.248 GB, free: 4.004 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/1.153, allocations: 239.8 kB / 1.249 GB, free: 3.766 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.277/4.43, allocations: 0 / 1.249 GB, free: 3.766 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)