Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",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.283/2.283, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001241/0.001241, allocations: 173.2 kB / 498.1 MB, free: 5.734 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.567/1.567, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.001034/0.001034, allocations: 94.08 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 15.08 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3086, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2397/0.5483, allocations: 199.1 MB / 1.417 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/0.5487, allocations: 103.9 kB / 1.417 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7729/1.322, allocations: 113.9 MB / 1.529 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.225e-06/1.322, allocations: 0 / 1.529 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001311/1.322, allocations: 59.98 kB / 1.529 GB, free: 122.1 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.007743/1.33, allocations: 2.511 MB / 1.531 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.33, allocations: 8.031 kB / 1.531 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001647/1.331, allocations: 466.6 kB / 1.532 GB, free: 119.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/1.342, allocations: 1.904 MB / 1.534 GB, free: 117.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004425/1.347, allocations: 1.722 MB / 1.535 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/1.347, allocations: 230.1 kB / 1.535 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007263/1.348, allocations: 292 kB / 1.536 GB, free: 114.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/1.358, allocations: 5.448 MB / 1.541 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/1.358, allocations: 7.938 kB / 1.541 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003749/1.359, allocations: 131.9 kB / 1.541 GB, free: 109.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002656/1.359, allocations: 197 kB / 1.541 GB, free: 109 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/1.37, allocations: 5.495 MB / 1.547 GB, free: 103.5 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02306/1.393, allocations: 22.79 MB / 1.569 GB, free: 78.68 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/1.398, allocations: 2.506 MB / 1.571 GB, free: 76.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/1.398, allocations: 118.1 kB / 1.572 GB, free: 75.92 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/1.398, allocations: 55.48 kB / 1.572 GB, free: 75.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=123): time 4.178e-06/1.398, allocations: 0 / 1.572 GB, free: 75.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=153): time 0.03304/1.431, allocations: 11.71 MB / 1.583 GB, free: 64.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/1.431, allocations: 230.9 kB / 1.583 GB, free: 63.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/1.432, allocations: 0.9604 MB / 1.584 GB, free: 62.85 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002177/1.433, allocations: 53.7 kB / 1.584 GB, free: 62.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/1.433, allocations: 1.262 MB / 1.586 GB, free: 61.51 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/1.433, allocations: 0.5199 MB / 1.586 GB, free: 60.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/1.433, allocations: 44 kB / 1.586 GB, free: 60.94 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.434, allocations: 435.1 kB / 1.586 GB, free: 60.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003791/1.437, allocations: 1.803 MB / 1.588 GB, free: 58.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004161/1.442, allocations: 2.49 MB / 1.591 GB, free: 55.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00422/1.446, allocations: 2.125 MB / 1.593 GB, free: 53.78 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/1.446, allocations: 8 kB / 1.593 GB, free: 53.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01048/1.456, allocations: 5.103 MB / 1.598 GB, free: 48.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001625/1.458, allocations: 8.447 MB / 1.606 GB, free: 39.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/1.458, allocations: 23.95 kB / 1.606 GB, free: 39.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/1.46, allocations: 0.7465 MB / 1.607 GB, free: 38.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/1.463, allocations: 0.7723 MB / 1.607 GB, free: 37.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009909/1.473, allocations: 12.77 MB / 1.62 GB, free: 24.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/1.477, allocations: 475 kB / 1.62 GB, free: 23.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003183/1.477, allocations: 116 kB / 1.621 GB, free: 23.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/1.477, allocations: 4 kB / 1.621 GB, free: 23.81 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01101/1.488, allocations: 4.967 MB / 1.625 GB, free: 18.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.455e-05/1.488, allocations: 24 kB / 1.625 GB, free: 18.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/1.49, allocations: 0.6843 MB / 1.626 GB, free: 18.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003215/1.493, allocations: 0.7721 MB / 1.627 GB, free: 17.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009029/1.502, allocations: 12.64 MB / 1.639 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/1.506, allocations: 451.2 kB / 1.64 GB, free: 3.441 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005232/1.506, allocations: 116 kB / 1.64 GB, free: 3.328 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (240): * Single equations (assignments): 234 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002962/1.509, allocations: 1.327 MB / 1.641 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004619/1.51, allocations: 126.5 kB / 1.641 GB, free: 1.863 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.52, allocations: 4.565 MB / 1.646 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.521, allocations: 15.95 kB / 1.646 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.521, allocations: 12 kB / 1.646 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/1.521, allocations: 11.97 kB / 1.646 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/1.538, allocations: 8.03 MB / 1.653 GB, free: 4.996 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.538, allocations: 8 kB / 1.653 GB, free: 4.988 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002588/1.54, allocations: 0.531 MB / 1.654 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/1.542, allocations: 0.6341 MB / 1.655 GB, free: 3.805 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002378/1.542, allocations: 55.95 kB / 1.655 GB, free: 3.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/1.555, allocations: 12.32 MB / 1.667 GB, free: 6.629 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/1.555, allocations: 12.06 kB / 1.667 GB, free: 6.617 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.565, allocations: 4.532 MB / 1.671 GB, free: 1.809 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.566, allocations: 0.4993 MB / 1.672 GB, free: 1.289 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/1.567, allocations: 36 kB / 1.672 GB, free: 1.254 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002499/1.569, allocations: 399.3 kB / 1.672 GB, free: 0.8633 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002992/1.57, allocations: 128.7 kB / 1.672 GB, free: 0.7383 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.57, allocations: 55.95 kB / 1.672 GB, free: 0.6836 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001135/1.571, allocations: 0.7644 MB / 1.673 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.61e-07/1.571, allocations: 0 / 1.673 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004195/1.575, allocations: 1.199 MB / 1.674 GB, free: 14.72 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 (105): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01124/1.586, allocations: 6.996 MB / 1.681 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01918/1.605, allocations: 8.242 MB / 1.689 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.606, allocations: 4 kB / 1.689 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006015/1.612, allocations: 2.763 MB / 1.692 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.613, allocations: 145.2 kB / 1.692 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05164/1.664, allocations: 32.37 MB / 1.723 GB, free: 10.97 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/1.667, allocations: 2.377 MB / 1.726 GB, free: 8.551 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004139/1.671, allocations: 1.303 MB / 1.727 GB, free: 7.242 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/1.673, allocations: 0.8663 MB / 1.728 GB, free: 6.375 MB / 1.01 GB Notification: Performance of SimCode: time 1.203e-06/1.673, allocations: 0 / 1.728 GB, free: 6.375 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07895/1.752, allocations: 47.21 MB / 1.774 GB, free: 7.488 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.752, allocations: 245.7 kB / 1.774 GB, free: 7.242 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/4.886, allocations: 4.062 kB / 1.774 GB, free: 7.238 MB / 1.057 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat does not exist to compare? outputFormat=mat