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.273/2.273, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001551/0.001552, allocations: 171.3 kB / 498.1 MB, free: 5.695 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.554/1.554, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0008756/0.0008756, allocations: 88.34 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003926, allocations: 9.625 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2677, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.495, allocations: 199.1 MB / 1.417 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.4953, allocations: 103.9 kB / 1.417 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.82/1.315, allocations: 110.1 MB / 1.525 GB, free: 126.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.904e-06/1.315, allocations: 0 / 1.525 GB, free: 126.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001336/1.316, allocations: 59.98 kB / 1.525 GB, free: 126 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.008387/1.324, allocations: 2.416 MB / 1.527 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/1.324, allocations: 8.031 kB / 1.527 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00225/1.326, allocations: 449.6 kB / 1.528 GB, free: 123.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/1.338, allocations: 1.893 MB / 1.53 GB, free: 121.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005249/1.343, allocations: 1.664 MB / 1.531 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/1.343, allocations: 209.8 kB / 1.532 GB, free: 119.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/1.345, allocations: 280 kB / 1.532 GB, free: 119 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/1.361, allocations: 5.25 MB / 1.537 GB, free: 113.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/1.361, allocations: 0 / 1.537 GB, free: 113.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009775/1.362, allocations: 119.9 kB / 1.537 GB, free: 113.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000327/1.362, allocations: 192.7 kB / 1.537 GB, free: 113.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/1.375, allocations: 5.37 MB / 1.542 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02749/1.403, allocations: 22.48 MB / 1.564 GB, free: 83.41 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00522/1.408, allocations: 2.989 MB / 1.567 GB, free: 80.26 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/1.408, allocations: 118.1 kB / 1.567 GB, free: 80.12 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.408, allocations: 55.5 kB / 1.568 GB, free: 80.06 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=132): time 3.837e-06/1.408, allocations: 0 / 1.568 GB, free: 80.06 MB / 0.9167 GB Notification: Performance of matching and sorting (n=174): time 0.03895/1.447, allocations: 12.96 MB / 1.58 GB, free: 67.06 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/1.447, allocations: 234.9 kB / 1.58 GB, free: 66.78 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/1.449, allocations: 0.8624 MB / 1.581 GB, free: 65.91 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003332/1.449, allocations: 49.7 kB / 1.581 GB, free: 65.86 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/1.449, allocations: 1.154 MB / 1.582 GB, free: 64.68 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006513/1.45, allocations: 0.593 MB / 1.583 GB, free: 64.08 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/1.45, allocations: 48 kB / 1.583 GB, free: 64.04 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.451, allocations: 423.2 kB / 1.583 GB, free: 63.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004058/1.455, allocations: 1.846 MB / 1.585 GB, free: 61.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004296/1.459, allocations: 2.43 MB / 1.588 GB, free: 59.08 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004387/1.463, allocations: 2.145 MB / 1.59 GB, free: 56.94 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/1.463, allocations: 8 kB / 1.59 GB, free: 56.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01139/1.475, allocations: 5.306 MB / 1.595 GB, free: 51.61 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001431/1.476, allocations: 6.879 MB / 1.602 GB, free: 44.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.053e-05/1.476, allocations: 20 kB / 1.602 GB, free: 44.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/1.479, allocations: 1.075 MB / 1.603 GB, free: 43.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/1.482, allocations: 0.7369 MB / 1.603 GB, free: 42.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/1.494, allocations: 10.62 MB / 1.614 GB, free: 31.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/1.498, allocations: 474.9 kB / 1.614 GB, free: 30.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005364/1.498, allocations: 104 kB / 1.614 GB, free: 30.89 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/1.498, allocations: 4 kB / 1.614 GB, free: 30.89 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01107/1.509, allocations: 5.165 MB / 1.619 GB, free: 25.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.048e-05/1.51, allocations: 20 kB / 1.619 GB, free: 25.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/1.512, allocations: 0.8851 MB / 1.62 GB, free: 24.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003284/1.515, allocations: 0.7292 MB / 1.621 GB, free: 24.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/1.526, allocations: 10.56 MB / 1.631 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/1.529, allocations: 451.2 kB / 1.632 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006355/1.53, allocations: 104 kB / 1.632 GB, free: 12.69 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.003119/1.533, allocations: 1.281 MB / 1.633 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006233/1.534, allocations: 122.5 kB / 1.633 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.545, allocations: 4.914 MB / 1.638 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/1.545, allocations: 20 kB / 1.638 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/1.545, allocations: 12 kB / 1.638 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.545, allocations: 7.969 kB / 1.638 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/1.563, allocations: 8.68 MB / 1.647 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/1.563, allocations: 16.16 kB / 1.647 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002584/1.566, allocations: 0.5225 MB / 1.647 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002291/1.568, allocations: 0.8767 MB / 1.648 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002444/1.568, allocations: 55.95 kB / 1.648 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/1.583, allocations: 10.16 MB / 1.658 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/1.583, allocations: 15.89 kB / 1.658 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/1.596, allocations: 4.992 MB / 1.663 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/1.598, allocations: 0.5188 MB / 1.663 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004991/1.598, allocations: 39.98 kB / 1.663 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/1.601, allocations: 395.4 kB / 1.664 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004747/1.602, allocations: 156.9 kB / 1.664 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.602, allocations: 67.95 kB / 1.664 GB, free: 11.08 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001449/1.603, allocations: 0.6824 MB / 1.665 GB, free: 10.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/1.603, allocations: 0 / 1.665 GB, free: 10.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006238/1.609, allocations: 1.23 MB / 1.666 GB, free: 9.168 MB / 0.948 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.01322/1.623, allocations: 7.45 MB / 1.673 GB, free: 1.508 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02092/1.644, allocations: 7.941 MB / 1.681 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/1.644, allocations: 0 / 1.681 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006898/1.651, allocations: 2.605 MB / 1.683 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.652, allocations: 157.4 kB / 1.683 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05583/1.708, allocations: 29.84 MB / 1.713 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004767/1.713, allocations: 2.347 MB / 1.715 GB, free: 5.828 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004657/1.718, allocations: 1.237 MB / 1.716 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001962/1.72, allocations: 0.8468 MB / 1.717 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of SimCode: time 1.112e-06/1.72, allocations: 0 / 1.717 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09854/1.818, allocations: 50.32 MB / 1.766 GB, free: 1.758 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/1.819, allocations: 248.2 kB / 1.766 GB, free: 1.512 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/5.01, allocations: 0 / 1.766 GB, free: 1.512 MB / 1.042 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