Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.444/2.444, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001401/0.001401, allocations: 184 kB / 0.4901 GB, free: 2.215 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.575/1.575, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001167/0.001168, allocations: 101.3 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003726, allocations: 10.25 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3715, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.252/0.6235, allocations: 199.9 MB / 1.425 GB, free: 1.441 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.624, allocations: 103.9 kB / 1.425 GB, free: 1.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9754/1.599, allocations: 113.9 MB / 1.536 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.455e-06/1.599, allocations: 4 kB / 1.536 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001222/1.6, allocations: 56 kB / 1.536 GB, free: 110.2 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.007504/1.607, allocations: 2.51 MB / 1.538 GB, free: 107.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.607, allocations: 8.031 kB / 1.538 GB, free: 107.6 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001798/1.609, allocations: 466.6 kB / 1.539 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/1.62, allocations: 1.916 MB / 1.541 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004938/1.625, allocations: 1.722 MB / 1.542 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/1.625, allocations: 226 kB / 1.543 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/1.626, allocations: 299.9 kB / 1.543 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/1.639, allocations: 5.444 MB / 1.548 GB, free: 97.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.804e-05/1.639, allocations: 7.938 kB / 1.548 GB, free: 97.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/1.64, allocations: 131.9 kB / 1.548 GB, free: 97.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002821/1.64, allocations: 197 kB / 1.549 GB, free: 97.08 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01322/1.653, allocations: 5.499 MB / 1.554 GB, free: 91.56 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.02554/1.679, allocations: 22.77 MB / 1.576 GB, free: 66.77 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/1.683, allocations: 2.511 MB / 1.579 GB, free: 64.14 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/1.683, allocations: 114.1 kB / 1.579 GB, free: 64.01 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/1.683, allocations: 51.5 kB / 1.579 GB, free: 63.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=123): time 3.567e-06/1.683, allocations: 4 kB / 1.579 GB, free: 63.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=153): time 0.03462/1.718, allocations: 11.71 MB / 1.59 GB, free: 52.19 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/1.718, allocations: 226.9 kB / 1.59 GB, free: 51.92 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.719, allocations: 0.9681 MB / 1.591 GB, free: 50.94 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/1.72, allocations: 53.7 kB / 1.591 GB, free: 50.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/1.72, allocations: 1.246 MB / 1.593 GB, free: 49.62 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/1.72, allocations: 0.5355 MB / 1.593 GB, free: 49.07 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/1.72, allocations: 48 kB / 1.593 GB, free: 49.03 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.721, allocations: 427.1 kB / 1.594 GB, free: 48.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003733/1.724, allocations: 1.807 MB / 1.595 GB, free: 46.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00404/1.728, allocations: 2.482 MB / 1.598 GB, free: 44 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003989/1.732, allocations: 2.141 MB / 1.6 GB, free: 41.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.732, allocations: 4 kB / 1.6 GB, free: 41.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.009982/1.742, allocations: 5.107 MB / 1.605 GB, free: 36.72 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001549/1.744, allocations: 8.436 MB / 1.613 GB, free: 27.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/1.744, allocations: 27.95 kB / 1.613 GB, free: 27.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/1.746, allocations: 0.7387 MB / 1.614 GB, free: 26.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/1.749, allocations: 0.7723 MB / 1.615 GB, free: 26.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009936/1.759, allocations: 12.78 MB / 1.627 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/1.762, allocations: 471 kB / 1.628 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/1.763, allocations: 119.9 kB / 1.628 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.763, allocations: 7.938 kB / 1.628 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01011/1.773, allocations: 4.962 MB / 1.632 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.953e-05/1.773, allocations: 20 kB / 1.633 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/1.775, allocations: 0.6925 MB / 1.633 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.778, allocations: 0.7682 MB / 1.634 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/1.789, allocations: 12.65 MB / 1.646 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/1.792, allocations: 451.1 kB / 1.647 GB, free: 7.523 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/1.793, allocations: 112 kB / 1.647 GB, free: 7.414 MB / 0.9323 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.002725/1.795, allocations: 1.328 MB / 1.648 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/1.796, allocations: 126.5 kB / 1.648 GB, free: 5.949 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.807, allocations: 4.573 MB / 1.653 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/1.807, allocations: 19.95 kB / 1.653 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.807, allocations: 12 kB / 1.653 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/1.807, allocations: 7.984 kB / 1.653 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/1.824, allocations: 8.034 MB / 1.661 GB, free: 9.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/1.824, allocations: 4 kB / 1.661 GB, free: 9.066 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.827, allocations: 0.5272 MB / 1.661 GB, free: 8.539 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/1.829, allocations: 0.6381 MB / 1.662 GB, free: 7.883 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/1.829, allocations: 51.95 kB / 1.662 GB, free: 7.832 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/1.841, allocations: 12.32 MB / 1.674 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.841, allocations: 8 kB / 1.674 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.852, allocations: 4.536 MB / 1.678 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.853, allocations: 0.4993 MB / 1.679 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/1.853, allocations: 31.98 kB / 1.679 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/1.856, allocations: 403.2 kB / 1.679 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002979/1.856, allocations: 132.7 kB / 1.679 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/1.856, allocations: 59.95 kB / 1.679 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001188/1.857, allocations: 0.7566 MB / 1.68 GB, free: 4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/1.857, allocations: 0 / 1.68 GB, free: 4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004499/1.862, allocations: 1.199 MB / 1.681 GB, free: 2.801 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.01102/1.873, allocations: 7 MB / 1.688 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02036/1.893, allocations: 8.246 MB / 1.696 GB, free: 3.188 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/1.893, allocations: 0 / 1.696 GB, free: 3.188 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006603/1.9, allocations: 2.744 MB / 1.699 GB, free: 372 kB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.901, allocations: 154.6 kB / 1.699 GB, free: 224 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04835/1.95, allocations: 32.4 MB / 1.731 GB, free: 15.03 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/1.952, allocations: 2.377 MB / 1.733 GB, free: 12.62 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.004213/1.957, allocations: 1.295 MB / 1.734 GB, free: 11.32 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/1.958, allocations: 0.8741 MB / 1.735 GB, free: 10.44 MB / 1.026 GB Notification: Performance of SimCode: time 1.152e-06/1.958, allocations: 0 / 1.735 GB, free: 10.44 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08089/2.039, allocations: 47.2 MB / 1.781 GB, free: 11.57 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/2.039, allocations: 253.9 kB / 1.781 GB, free: 11.28 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/5.251, allocations: 0 / 1.781 GB, free: 11.28 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat does not exist to compare? outputFormat=mat