Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.TransformerStepUpYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009465/0.0009464, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001178/0.001177, allocations: 168.7 kB / 15.95 MB, free: 204 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.504/1.504, 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 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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.0005478/0.0005482, allocations: 16.94 kB / 0.6737 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2594, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD): time 0.01656/0.276, allocations: 14.83 MB / 0.8018 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00905/0.2851, allocations: 5.591 MB / 0.8072 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.2863, allocations: 39.88 kB / 0.8073 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.2871, allocations: 293.8 kB / 0.8075 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.2896, allocations: 0.7782 MB / 0.8083 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.2915, allocations: 0.5964 MB / 0.8089 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005075/0.2966, allocations: 4.786 MB / 0.8136 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008399/0.305, allocations: 5.838 MB / 0.8193 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/0.3074, allocations: 1.281 MB / 0.8205 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.3099, allocations: 1.85 MB / 0.8223 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.3103, allocations: 188 kB / 0.8225 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.3118, allocations: 0.597 MB / 0.8231 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.3132, allocations: 1.403 MB / 0.8245 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006778/0.3139, allocations: 0.5394 MB / 0.825 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.3189, allocations: 5.283 MB / 0.8301 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.3189, allocations: 0 / 0.8301 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3189, allocations: 0 / 0.8301 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001273/0.3191, allocations: 0 / 0.8301 GB, free: 15.88 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.005356/0.3244, allocations: 2.404 MB / 0.8325 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3245, allocations: 8.031 kB / 0.8325 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009329/0.3338, allocations: 2.009 MB / 0.8345 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/0.3371, allocations: 1.576 MB / 0.836 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.3373, allocations: 213.8 kB / 0.8362 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005892/0.3379, allocations: 276 kB / 0.8365 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.3489, allocations: 5.672 MB / 0.842 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/0.349, allocations: 4 kB / 0.842 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/0.3493, allocations: 123.9 kB / 0.8421 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003156/0.3496, allocations: 200.7 kB / 0.8423 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.3617, allocations: 5.816 MB / 0.848 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02471/0.3864, allocations: 22.61 MB / 0.8701 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005115/0.3916, allocations: 3.024 MB / 0.873 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004061/0.3957, allocations: 1.928 MB / 0.8749 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.3959, allocations: 118 kB / 0.875 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.396, allocations: 55.5 kB / 0.8751 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=132): time 3.056e-06/0.396, allocations: 0 / 0.8751 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=174): time 0.03403/0.43, allocations: 12.96 MB / 0.8877 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.4302, allocations: 226.9 kB / 0.8879 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.4314, allocations: 0.949 MB / 0.8889 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.4316, allocations: 57.7 kB / 0.8889 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006862/0.4323, allocations: 1.154 MB / 0.8901 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00053/0.4329, allocations: 0.593 MB / 0.8906 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.433, allocations: 44 kB / 0.8907 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.4332, allocations: 427.2 kB / 0.8911 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003894/0.4371, allocations: 1.854 MB / 0.8929 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004133/0.4413, allocations: 2.448 MB / 0.8953 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/0.4454, allocations: 2.16 MB / 0.8974 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.4454, allocations: 11.72 kB / 0.8974 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01091/0.4563, allocations: 5.392 MB / 0.9027 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005023/0.4569, allocations: 0.6191 MB / 0.9033 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.4569, allocations: 20 kB / 0.9033 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/0.4599, allocations: 1.233 MB / 0.9045 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.4626, allocations: 0.7331 MB / 0.9052 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/0.4757, allocations: 10.53 MB / 0.9155 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/0.4783, allocations: 463.4 kB / 0.9159 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.4785, allocations: 108 kB / 0.916 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.4785, allocations: 7.125 kB / 0.916 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4683/0.9468, allocations: 5.229 MB / 0.9212 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.15e-05/0.9469, allocations: 18.16 kB / 0.9212 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/0.9496, allocations: 0.9643 MB / 0.9221 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/0.9529, allocations: 0.7276 MB / 0.9228 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.9658, allocations: 10.38 MB / 0.933 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.9687, allocations: 441.1 kB / 0.9334 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/0.969, allocations: 108 kB / 0.9335 GB, free: 118.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (212): * Single equations (assignments): 210 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,63.3%) 29,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002075/0.9711, allocations: 1.277 MB / 0.9347 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/0.9715, allocations: 124.4 kB / 0.9349 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.9831, allocations: 4.963 MB / 0.9397 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.575e-05/0.9832, allocations: 18.53 kB / 0.9397 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.265e-05/0.9833, allocations: 15.52 kB / 0.9397 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-05/0.9833, allocations: 14.53 kB / 0.9397 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.9999, allocations: 8.939 MB / 0.9485 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/1, allocations: 7.5 kB / 0.9485 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/1.002, allocations: 0.5254 MB / 0.949 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/1.004, allocations: 0.9765 MB / 0.95 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/1.005, allocations: 53.08 kB / 0.95 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/1.016, allocations: 9.97 MB / 0.9597 GB, free: 106 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/1.016, allocations: 11.41 kB / 0.9597 GB, free: 106 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009326/1.026, allocations: 4.754 MB / 0.9644 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008283/1.027, allocations: 0.5142 MB / 0.9649 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/1.027, allocations: 41.5 kB / 0.9649 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/1.029, allocations: 399.2 kB / 0.9653 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/1.029, allocations: 155.4 kB / 0.9655 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.029, allocations: 69.73 kB / 0.9655 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008555/1.03, allocations: 0.6922 MB / 0.9662 GB, free: 102.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/1.03, allocations: 0 / 0.9662 GB, free: 102.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003671/1.034, allocations: 1.186 MB / 0.9674 GB, free: 101.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 101 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002682/1.034, allocations: 155.7 kB / 0.9675 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01512/1.049, allocations: 8.012 MB / 0.9753 GB, free: 97.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/1.049, allocations: 0 / 0.9753 GB, free: 97.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005393/1.055, allocations: 2.621 MB / 0.9779 GB, free: 94.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/1.056, allocations: 184.4 kB / 0.9781 GB, free: 94.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/1.072, allocations: 8.351 MB / 0.9862 GB, free: 85.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/1.073, allocations: 2.31 MB / 0.9885 GB, free: 83.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00332/1.077, allocations: 1.221 MB / 0.9897 GB, free: 82.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/1.077, allocations: 127.3 kB / 0.9898 GB, free: 82.09 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/1.077, allocations: 0 / 0.9898 GB, free: 82.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.04255/1.12, allocations: 34.29 MB / 1.023 GB, free: 47.99 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) Environment - environmentSimulation: