Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.38/2.38, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001584/0.001584, allocations: 175.9 kB / 0.4901 GB, free: 2.254 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.595/1.595, allocations: 223.1 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.001131, allocations: 100.3 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 11.03 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.343, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2628/0.6059, allocations: 199.9 MB / 1.425 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004023/0.6063, allocations: 99.94 kB / 1.425 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8659/1.472, allocations: 110.1 MB / 1.532 GB, free: 114 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.354e-06/1.472, allocations: 0 / 1.532 GB, free: 114 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001077/1.472, allocations: 59.98 kB / 1.532 GB, free: 114 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.007342/1.48, allocations: 2.404 MB / 1.535 GB, free: 111.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.48, allocations: 12.83 kB / 1.535 GB, free: 111.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001694/1.482, allocations: 449.5 kB / 1.535 GB, free: 111 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/1.492, allocations: 1.896 MB / 1.537 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/1.498, allocations: 1.66 MB / 1.538 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/1.498, allocations: 213.8 kB / 1.539 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001368/1.499, allocations: 276 kB / 1.539 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/1.513, allocations: 5.24 MB / 1.544 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.489e-05/1.513, allocations: 0 / 1.544 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007065/1.514, allocations: 127.9 kB / 1.544 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002895/1.514, allocations: 200.7 kB / 1.544 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/1.526, allocations: 5.37 MB / 1.55 GB, free: 95.91 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02512/1.551, allocations: 22.47 MB / 1.572 GB, free: 71.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00498/1.556, allocations: 3.005 MB / 1.574 GB, free: 68.22 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/1.557, allocations: 122 kB / 1.575 GB, free: 68.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/1.557, allocations: 51.5 kB / 1.575 GB, free: 68.03 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=132): time 3.055e-06/1.557, allocations: 0 / 1.575 GB, free: 68.03 MB / 0.9167 GB Notification: Performance of matching and sorting (n=174): time 0.03863/1.595, allocations: 12.96 MB / 1.587 GB, free: 55.02 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/1.595, allocations: 231 kB / 1.588 GB, free: 54.75 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/1.597, allocations: 0.8585 MB / 1.588 GB, free: 53.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002951/1.597, allocations: 53.7 kB / 1.588 GB, free: 53.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/1.598, allocations: 1.154 MB / 1.59 GB, free: 52.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006241/1.598, allocations: 0.5931 MB / 1.59 GB, free: 52.05 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/1.598, allocations: 44 kB / 1.59 GB, free: 52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.599, allocations: 427.2 kB / 1.591 GB, free: 51.58 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004111/1.603, allocations: 1.846 MB / 1.592 GB, free: 49.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/1.607, allocations: 2.427 MB / 1.595 GB, free: 47.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/1.612, allocations: 2.152 MB / 1.597 GB, free: 44.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-05/1.612, allocations: 4 kB / 1.597 GB, free: 44.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0111/1.623, allocations: 5.302 MB / 1.602 GB, free: 39.58 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001696/1.625, allocations: 6.875 MB / 1.609 GB, free: 32.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.43e-05/1.625, allocations: 23.98 kB / 1.609 GB, free: 32.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/1.627, allocations: 1.079 MB / 1.61 GB, free: 31.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/1.63, allocations: 0.737 MB / 1.611 GB, free: 30.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.644, allocations: 10.62 MB / 1.621 GB, free: 19.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004105/1.648, allocations: 467 kB / 1.621 GB, free: 18.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000887/1.649, allocations: 108 kB / 1.621 GB, free: 18.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.649, allocations: 4 kB / 1.621 GB, free: 18.86 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01274/1.662, allocations: 5.169 MB / 1.627 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.804e-05/1.662, allocations: 16 kB / 1.627 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00204/1.664, allocations: 0.881 MB / 1.627 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/1.667, allocations: 0.7372 MB / 1.628 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/1.679, allocations: 10.55 MB / 1.638 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/1.682, allocations: 455.1 kB / 1.639 GB, free: 0.7617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006796/1.683, allocations: 104 kB / 1.639 GB, free: 0.6602 MB / 0.9167 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 () * 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 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003168/1.686, allocations: 1.276 MB / 1.64 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006742/1.687, allocations: 130.5 kB / 1.64 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.699, allocations: 4.918 MB / 1.645 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/1.699, allocations: 16 kB / 1.645 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-05/1.699, allocations: 16 kB / 1.645 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.941e-05/1.699, allocations: 11.97 kB / 1.645 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/1.72, allocations: 8.676 MB / 1.654 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-05/1.72, allocations: 11.94 kB / 1.654 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/1.723, allocations: 0.5264 MB / 1.654 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002332/1.725, allocations: 0.8773 MB / 1.655 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003372/1.725, allocations: 59.84 kB / 1.655 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.74, allocations: 10.14 MB / 1.665 GB, free: 5.516 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/1.74, allocations: 11.95 kB / 1.665 GB, free: 5.504 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/1.751, allocations: 4.996 MB / 1.67 GB, free: 244 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.753, allocations: 0.523 MB / 1.67 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004542/1.753, allocations: 35.98 kB / 1.67 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/1.756, allocations: 399.3 kB / 1.671 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004444/1.756, allocations: 152.8 kB / 1.671 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/1.757, allocations: 67.95 kB / 1.671 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001237/1.758, allocations: 0.6708 MB / 1.672 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/1.758, allocations: 0 / 1.672 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004971/1.763, allocations: 1.238 MB / 1.673 GB, free: 13.15 MB / 0.9636 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): 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.01181/1.775, allocations: 7.454 MB / 1.68 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02012/1.795, allocations: 7.946 MB / 1.688 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.795, allocations: 4.062 kB / 1.688 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006171/1.801, allocations: 2.594 MB / 1.69 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/1.802, allocations: 161 kB / 1.691 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05097/1.853, allocations: 29.84 MB / 1.72 GB, free: 12.19 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004156/1.858, allocations: 2.351 MB / 1.722 GB, free: 9.801 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004455/1.862, allocations: 1.23 MB / 1.723 GB, free: 8.566 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/1.864, allocations: 0.8468 MB / 1.724 GB, free: 7.719 MB / 1.01 GB Notification: Performance of SimCode: time 1.022e-06/1.864, allocations: 0 / 1.724 GB, free: 7.719 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08595/1.95, allocations: 50.34 MB / 1.773 GB, free: 5.719 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/1.95, allocations: 242.6 kB / 1.773 GB, free: 5.441 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/5.161, allocations: 4 kB / 1.773 GB, free: 5.438 MB / 1.057 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat does not exist to compare? outputFormat=mat