Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.TransformerStepDownYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001281/0.001281, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.84/1.84, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001379/0.001379, allocations: 71.89 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.243, allocations: 114.6 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.4583/0.7013, allocations: 16.31 MB / 0.8 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008585/0.71, allocations: 5.936 MB / 0.8058 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.7115, allocations: 47.97 kB / 0.8059 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003761/0.7153, allocations: 1.349 MB / 0.8072 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.7188, allocations: 1.037 MB / 0.8082 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.7222, allocations: 1.024 MB / 0.8092 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006292/0.7285, allocations: 4.134 MB / 0.8132 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009387/0.7379, allocations: 5.447 MB / 0.8185 GB, free: 32.08 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004232/0.7422, allocations: 1.83 MB / 0.8203 GB, free: 31.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004999/0.7472, allocations: 2.199 MB / 0.8225 GB, free: 30.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.7487, allocations: 432.5 kB / 0.8229 GB, free: 30.28 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003696/0.7525, allocations: 1.11 MB / 0.824 GB, free: 30.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002881/0.7554, allocations: 1.705 MB / 0.8256 GB, free: 29.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003797/0.7592, allocations: 1.686 MB / 0.8273 GB, free: 28.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.7727, allocations: 6.316 MB / 0.8335 GB, free: 26.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.7727, allocations: 0 / 0.8335 GB, free: 26.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7727, allocations: 4 kB / 0.8335 GB, free: 26.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000223/0.773, allocations: 0 / 0.8335 GB, free: 26.32 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.01056/0.7835, allocations: 2.945 MB / 0.8363 GB, free: 24.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.7836, allocations: 9.031 kB / 0.8363 GB, free: 24.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.7951, allocations: 2.005 MB / 0.8383 GB, free: 24.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/0.7996, allocations: 1.591 MB / 0.8399 GB, free: 23.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.7998, allocations: 217.1 kB / 0.8401 GB, free: 23.35 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.8012, allocations: 277.9 kB / 0.8403 GB, free: 23.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01534/0.8165, allocations: 5.693 MB / 0.8459 GB, free: 19.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.976e-05/0.8167, allocations: 1.156 kB / 0.8459 GB, free: 19.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004545/0.8171, allocations: 117 kB / 0.846 GB, free: 19.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004321/0.8176, allocations: 202.5 kB / 0.8462 GB, free: 19.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/0.8337, allocations: 5.83 MB / 0.8519 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0293/0.8631, allocations: 22.41 MB / 0.8738 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007273/0.8704, allocations: 3.014 MB / 0.8767 GB, free: 9.773 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005274/0.8757, allocations: 1.956 MB / 0.8786 GB, free: 7.797 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.8761, allocations: 126 kB / 0.8787 GB, free: 7.656 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/0.8762, allocations: 55.48 kB / 0.8788 GB, free: 7.594 MB / 0.67 GB Notification: Performance of pre-optimization done (n=132): time 4.178e-06/0.8762, allocations: 0 / 0.8788 GB, free: 7.594 MB / 0.67 GB Notification: Performance of matching and sorting (n=174): time 0.04204/0.9182, allocations: 12.81 MB / 0.8913 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.9184, allocations: 234.9 kB / 0.8915 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.9199, allocations: 0.9569 MB / 0.8925 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004161/0.9204, allocations: 53.7 kB / 0.8925 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008681/0.9212, allocations: 1.162 MB / 0.8937 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007652/0.922, allocations: 0.5938 MB / 0.8942 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000797/0.9228, allocations: 455.8 kB / 0.8947 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.923, allocations: 338 kB / 0.895 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004468/0.9275, allocations: 1.879 MB / 0.8968 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005046/0.9325, allocations: 2.459 MB / 0.8992 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009568/0.9421, allocations: 4.374 MB / 0.9035 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.449e-05/0.9422, allocations: 8 kB / 0.9035 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01411/0.9563, allocations: 5.423 MB / 0.9088 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.9564, allocations: 17.06 kB / 0.9088 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.847e-05/0.9565, allocations: 20 kB / 0.9088 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003593/0.9601, allocations: 1.21 MB / 0.91 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003501/0.9636, allocations: 0.7253 MB / 0.9107 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/0.9811, allocations: 11.43 MB / 0.9219 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/0.9846, allocations: 455 kB / 0.9223 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006526/0.9852, allocations: 119.9 kB / 0.9224 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007832/0.9931, allocations: 2.943 MB / 0.9253 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00532/0.9984, allocations: 2.452 MB / 0.9277 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009543/1.008, allocations: 4.347 MB / 0.932 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-05/1.008, allocations: 8 kB / 0.932 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.01307/1.021, allocations: 5.357 MB / 0.9372 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/1.021, allocations: 13.91 kB / 0.9372 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/1.021, allocations: 16.31 kB / 0.9372 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/1.024, allocations: 1.125 MB / 0.9383 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/1.027, allocations: 0.737 MB / 0.939 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/1.043, allocations: 11.23 MB / 0.95 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.047, allocations: 451.2 kB / 0.9504 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006862/1.048, allocations: 112 kB / 0.9505 GB, free: 12.31 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,31,92.0%), (5,31,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00115/1.049, allocations: 315.6 kB / 0.9508 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/1.049, allocations: 118.6 kB / 0.951 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.062, allocations: 4.961 MB / 0.9558 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-05/1.062, allocations: 20 kB / 0.9558 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.09e-05/1.062, allocations: 12 kB / 0.9558 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.39e-05/1.062, allocations: 11.91 kB / 0.9558 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/1.082, allocations: 8.959 MB / 0.9646 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/1.083, allocations: 8 kB / 0.9646 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.085, allocations: 0.5265 MB / 0.9651 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002913/1.088, allocations: 0.9695 MB / 0.9661 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000295/1.088, allocations: 55.95 kB / 0.9661 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/1.104, allocations: 10.91 MB / 0.9768 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/1.104, allocations: 11.94 kB / 0.9768 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.116, allocations: 4.759 MB / 0.9814 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.117, allocations: 0.5031 MB / 0.9819 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/1.118, allocations: 43.98 kB / 0.982 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002633/1.12, allocations: 395.4 kB / 0.9823 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/1.121, allocations: 153 kB / 0.9825 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/1.121, allocations: 67.95 kB / 0.9825 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00123/1.122, allocations: 0.6903 MB / 0.9832 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/1.122, allocations: 0 / 0.9832 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005582/1.128, allocations: 1.191 MB / 0.9844 GB, free: 8.984 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,32,100.0%), (8,28,53.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000583/1.128, allocations: 154.9 kB / 0.9845 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01953/1.148, allocations: 7.977 MB / 0.9923 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.148, allocations: 0 / 0.9923 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006617/1.155, allocations: 2.665 MB / 0.9949 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/1.157, allocations: 194.6 kB / 0.9951 GB, free: 13.93 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/1.178, allocations: 7.331 MB / 1.002 GB, free: 6.48 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003416/1.181, allocations: 2.31 MB / 1.005 GB, free: 4.133 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003933/1.185, allocations: 1.233 MB / 1.006 GB, free: 2.895 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/1.186, allocations: 123.3 kB / 1.006 GB, free: 2.773 MB / 0.795 GB Notification: Performance of SimCode: time 9.32e-07/1.186, allocations: 0 / 1.006 GB, free: 2.773 MB / 0.795 GB Notification: Performance of Templates: time 0.0652/1.251, allocations: 36.5 MB / 1.041 GB, free: 14.44 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1)