Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.693/1.693, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005649/0.0005649, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6205/0.621, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.01856/0.6396, allocations: 15.19 MB / 0.7428 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.6506, allocations: 5.763 MB / 0.7484 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.6527, allocations: 39.88 kB / 0.7485 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.6537, allocations: 338 kB / 0.7488 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002683/0.6564, allocations: 0.6152 MB / 0.7494 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.6588, allocations: 0.6408 MB / 0.75 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002862/0.6617, allocations: 1.778 MB / 0.7518 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/0.672, allocations: 5.906 MB / 0.7575 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.6747, allocations: 1.063 MB / 0.7586 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.6771, allocations: 1.238 MB / 0.7598 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004758/0.6776, allocations: 192 kB / 0.76 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.6793, allocations: 0.5697 MB / 0.7605 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001696/0.6811, allocations: 1.337 MB / 0.7618 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007912/0.6819, allocations: 0.5551 MB / 0.7624 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005988/0.6879, allocations: 5.347 MB / 0.7676 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6879, allocations: 0 / 0.7676 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6879, allocations: 0 / 0.7676 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001445/0.688, allocations: 0 / 0.7676 GB, free: 2.742 MB / 0.5762 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.005461/0.6935, allocations: 2.424 MB / 0.77 GB, free: 264 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6936, allocations: 8.031 kB / 0.77 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.7049, allocations: 2.084 MB / 0.772 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004376/0.7093, allocations: 1.592 MB / 0.7736 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.7095, allocations: 221.9 kB / 0.7738 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009763/0.7105, allocations: 291.9 kB / 0.774 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.7244, allocations: 5.711 MB / 0.7796 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.187e-05/0.7246, allocations: 11.89 kB / 0.7796 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005324/0.7251, allocations: 132 kB / 0.7798 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003251/0.7254, allocations: 204.9 kB / 0.78 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/0.7399, allocations: 5.795 MB / 0.7856 GB, free: 64 kB / 0.5919 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.03629/0.7763, allocations: 23 MB / 0.8081 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006093/0.7824, allocations: 2.655 MB / 0.8107 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/0.7827, allocations: 122 kB / 0.8108 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.7827, allocations: 51.5 kB / 0.8108 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=116): time 4.118e-06/0.7827, allocations: 0 / 0.8108 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=116): time 0.01526/0.798, allocations: 5.194 MB / 0.8159 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.7982, allocations: 222.6 kB / 0.8161 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.8, allocations: 1.043 MB / 0.8171 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.8001, allocations: 45.7 kB / 0.8172 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009581/0.8011, allocations: 1.23 MB / 0.8184 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/0.8016, allocations: 422.1 kB / 0.8188 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.8018, allocations: 40 kB / 0.8188 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.802, allocations: 410.7 kB / 0.8192 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004325/0.8064, allocations: 1.635 MB / 0.8208 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00476/0.8112, allocations: 2.309 MB / 0.8231 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005106/0.8163, allocations: 1.907 MB / 0.8249 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.474e-05/0.8163, allocations: 8 kB / 0.8249 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of matching and sorting (n=244) (initialization): time 0.01246/0.8288, allocations: 4.402 MB / 0.8292 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.004327/0.8332, allocations: 8.613 MB / 0.8376 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.082e-05/0.8333, allocations: 23.94 kB / 0.8377 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.8349, allocations: 450.2 kB / 0.8381 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/0.8385, allocations: 0.7565 MB / 0.8388 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008199/0.8467, allocations: 6.536 MB / 0.8452 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/0.8504, allocations: 0.591 MB / 0.8458 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000504/0.8509, allocations: 104.9 kB / 0.8459 GB, free: 14.54 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.8509, allocations: 4 kB / 0.8459 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01143/0.8624, allocations: 4.237 MB / 0.85 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.714e-05/0.8625, allocations: 24 kB / 0.8501 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008655/0.8634, allocations: 354.5 kB / 0.8504 GB, free: 9.902 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/0.8667, allocations: 0.7526 MB / 0.8511 GB, free: 9.148 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006942/0.8737, allocations: 6.349 MB / 0.8573 GB, free: 2.398 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/0.877, allocations: 0.5175 MB / 0.8578 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004745/0.8775, allocations: 111.9 kB / 0.8579 GB, free: 1.77 MB / 0.67 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 (223): * Single equations (assignments): 220 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002629/0.8802, allocations: 1.25 MB / 0.8592 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/0.8807, allocations: 114.7 kB / 0.8593 GB, free: 404 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.8907, allocations: 3.61 MB / 0.8628 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/0.8908, allocations: 16 kB / 0.8628 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/0.8908, allocations: 4 kB / 0.8628 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.8909, allocations: 11.92 kB / 0.8628 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.9075, allocations: 6.988 MB / 0.8697 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/0.9076, allocations: 8 kB / 0.8697 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002521/0.9101, allocations: 0.5075 MB / 0.8702 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.9112, allocations: 358.1 kB / 0.8705 GB, free: 4.711 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/0.9114, allocations: 43.95 kB / 0.8705 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007748/0.9191, allocations: 6.404 MB / 0.8768 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.9192, allocations: 11.94 kB / 0.8768 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.9294, allocations: 3.864 MB / 0.8806 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/0.9308, allocations: 475.3 kB / 0.881 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004473/0.9312, allocations: 28 kB / 0.8811 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/0.9339, allocations: 383.3 kB / 0.8814 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/0.9342, allocations: 96.77 kB / 0.8815 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.9344, allocations: 51.95 kB / 0.8816 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001592/0.936, allocations: 0.741 MB / 0.8823 GB, free: 8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.936, allocations: 0 / 0.8823 GB, free: 8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00594/0.9419, allocations: 1.423 MB / 0.8837 GB, free: 6.57 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (92): * Single equations (assignments): 89 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.0004296/0.9424, allocations: 148.9 kB / 0.8838 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01658/0.959, allocations: 6.518 MB / 0.8902 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.959, allocations: 0 / 0.8902 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005267/0.9643, allocations: 2.056 MB / 0.8922 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.9655, allocations: 152.9 kB / 0.8923 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/0.987, allocations: 7.745 MB / 0.8999 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/0.9901, allocations: 2.242 MB / 0.9021 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00432/0.9944, allocations: 1.232 MB / 0.9033 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000645/0.9951, allocations: 119.3 kB / 0.9034 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.9951, allocations: 0 / 0.9034 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.4776/1.473, allocations: 22.79 MB / 0.9257 GB, free: 155.6 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) Environment - environmentSimulation: