Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001207, allocations: 176.8 kB / 487.4 MB, free: 5.02 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.0008971, allocations: 98.78 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.97e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.355, allocations: 198.4 MB / 1.4 GB, free: 9.438 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.355, allocations: 97.17 kB / 1.4 GB, free: 9.383 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.272/1.627, allocations: 109.2 MB / 1.507 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.304e-06/1.627, allocations: 0 / 1.507 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001562/1.627, allocations: 59.98 kB / 1.507 GB, free: 10.96 MB / 0.9167 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.0131/1.64, allocations: 2.338 MB / 1.509 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/1.64, allocations: 8.031 kB / 1.509 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/1.653, allocations: 1.9 MB / 1.511 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004534/1.657, allocations: 1.654 MB / 1.512 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/1.657, allocations: 100 kB / 1.512 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/1.659, allocations: 160 kB / 1.513 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009076/1.668, allocations: 3.951 MB / 1.516 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/1.68, allocations: 4.309 MB / 1.521 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/1.681, allocations: 7.875 kB / 1.521 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009745/1.682, allocations: 3.953 kB / 1.521 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004187/1.682, allocations: 192.8 kB / 1.521 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03397/1.716, allocations: 21.82 MB / 1.542 GB, free: 4.305 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003869/1.72, allocations: 2.484 MB / 1.545 GB, free: 1.648 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/1.722, allocations: 1.329 MB / 1.546 GB, free: 308 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/1.722, allocations: 118.4 kB / 1.546 GB, free: 172 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/1.722, allocations: 63.77 kB / 1.546 GB, free: 96 kB / 0.948 GB Notification: Performance of pre-optimization done (n=132): time 3.125e-06/1.722, allocations: 0 / 1.546 GB, free: 96 kB / 0.948 GB Notification: Performance of matching and sorting (n=174): time 0.01639/1.739, allocations: 7.716 MB / 1.554 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.739, allocations: 230.9 kB / 1.554 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/1.74, allocations: 0.804 MB / 1.555 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002509/1.741, allocations: 25.7 kB / 1.555 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009089/1.742, allocations: 1.158 MB / 1.556 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008122/1.742, allocations: 0.5735 MB / 1.556 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.743, allocations: 0 / 1.556 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002989/1.743, allocations: 423.2 kB / 1.557 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/1.745, allocations: 1.328 MB / 1.558 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/1.748, allocations: 1.896 MB / 1.56 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004139/1.752, allocations: 1.965 MB / 1.562 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/1.752, allocations: 11.94 kB / 1.562 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.009468/1.761, allocations: 4.483 MB / 1.566 GB, free: 11.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003303/1.765, allocations: 6.882 MB / 1.573 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.997e-05/1.765, allocations: 23.98 kB / 1.573 GB, free: 3.656 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002752/1.768, allocations: 0.9849 MB / 1.574 GB, free: 2.664 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003729/1.771, allocations: 0.7292 MB / 1.575 GB, free: 1.934 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/1.787, allocations: 10.09 MB / 1.584 GB, free: 7.602 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/1.791, allocations: 423 kB / 1.585 GB, free: 7.188 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000604/1.791, allocations: 116.2 kB / 1.585 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.791, allocations: 7.938 kB / 1.585 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009129/1.8, allocations: 4.233 MB / 1.589 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.843e-05/1.801, allocations: 20 kB / 1.589 GB, free: 2.805 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/1.803, allocations: 0.8488 MB / 1.59 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/1.806, allocations: 0.7292 MB / 1.591 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.819, allocations: 9.626 MB / 1.6 GB, free: 7.348 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/1.823, allocations: 407.1 kB / 1.6 GB, free: 6.949 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006524/1.824, allocations: 108 kB / 1.601 GB, free: 6.844 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001022/1.825, allocations: 153.6 kB / 1.601 GB, free: 6.688 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00754/1.832, allocations: 3.51 MB / 1.604 GB, free: 3.16 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000629/1.833, allocations: 118.6 kB / 1.604 GB, free: 3.043 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008163/1.841, allocations: 4.024 MB / 1.608 GB, free: 14.98 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/1.841, allocations: 16 kB / 1.608 GB, free: 14.96 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-05/1.841, allocations: 12 kB / 1.608 GB, free: 14.95 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/1.841, allocations: 11.97 kB / 1.608 GB, free: 14.94 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/1.856, allocations: 7.33 MB / 1.615 GB, free: 7.441 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.856, allocations: 11.98 kB / 1.615 GB, free: 7.43 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/1.859, allocations: 0.5271 MB / 1.616 GB, free: 6.902 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00218/1.861, allocations: 0.8526 MB / 1.617 GB, free: 6.043 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002861/1.861, allocations: 39.91 kB / 1.617 GB, free: 6.004 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/1.874, allocations: 9.364 MB / 1.626 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.173e-05/1.874, allocations: 19.88 kB / 1.626 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00769/1.882, allocations: 4.103 MB / 1.63 GB, free: 8.023 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.883, allocations: 0.5111 MB / 1.63 GB, free: 7.492 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/1.884, allocations: 8 kB / 1.63 GB, free: 7.484 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.887, allocations: 383.2 kB / 1.631 GB, free: 7.109 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004215/1.887, allocations: 149 kB / 1.631 GB, free: 6.965 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/1.888, allocations: 67.95 kB / 1.631 GB, free: 6.898 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001121/1.889, allocations: 0.624 MB / 1.632 GB, free: 6.273 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.7e-07/1.889, allocations: 0 / 1.632 GB, free: 6.273 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.00521/1.894, allocations: 1.098 MB / 1.633 GB, free: 5.176 MB / 1.042 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 99 * 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,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008067/1.902, allocations: 6.543 MB / 1.639 GB, free: 14.42 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.914, allocations: 6.191 MB / 1.645 GB, free: 8.191 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.914, allocations: 0 / 1.645 GB, free: 8.191 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003613/1.917, allocations: 2.026 MB / 1.647 GB, free: 6.148 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/1.918, allocations: 133.8 kB / 1.647 GB, free: 6.02 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/1.94, allocations: 6.577 MB / 1.654 GB, free: 15.3 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003447/1.944, allocations: 2.351 MB / 1.656 GB, free: 12.92 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004671/1.948, allocations: 1.261 MB / 1.657 GB, free: 11.65 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/1.95, allocations: 0.839 MB / 1.658 GB, free: 10.81 MB / 1.073 GB Notification: Performance of SimCode: time 9.12e-07/1.95, allocations: 4 kB / 1.658 GB, free: 10.81 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09694/2.047, allocations: 50.63 MB / 1.707 GB, free: 8.32 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/2.047, allocations: 184 kB / 1.708 GB, free: 8.125 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.311/5.358, allocations: 0 / 1.708 GB, free: 8.125 MB / 1.12 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat does not exist to compare? outputFormat=mat