Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.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.TransformerStepUpDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY",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.249/2.249, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001503/0.001503, allocations: 177.1 kB / 498.1 MB, free: 5.754 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.423/1.423, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0008943/0.0008943, allocations: 91.95 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 14.22 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2656, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2301/0.4958, allocations: 199.1 MB / 1.417 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4961, allocations: 111.9 kB / 1.418 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8759/1.372, allocations: 114 MB / 1.529 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.946e-06/1.372, allocations: 0 / 1.529 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001473/1.372, allocations: 67.86 kB / 1.529 GB, free: 122.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.008185/1.38, allocations: 2.495 MB / 1.531 GB, free: 119.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.381, allocations: 16.03 kB / 1.531 GB, free: 119.6 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001987/1.383, allocations: 458.6 kB / 1.532 GB, free: 119.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/1.394, allocations: 1.912 MB / 1.534 GB, free: 117.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005873/1.4, allocations: 1.726 MB / 1.535 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/1.4, allocations: 222.1 kB / 1.536 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001908/1.402, allocations: 296 kB / 1.536 GB, free: 114.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/1.417, allocations: 5.453 MB / 1.541 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.314e-05/1.417, allocations: 0 / 1.541 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007885/1.418, allocations: 131.9 kB / 1.541 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002898/1.418, allocations: 197 kB / 1.541 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/1.432, allocations: 5.501 MB / 1.547 GB, free: 103.6 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.02936/1.461, allocations: 22.79 MB / 1.569 GB, free: 78.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004672/1.466, allocations: 2.507 MB / 1.572 GB, free: 76.12 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/1.466, allocations: 122.1 kB / 1.572 GB, free: 75.98 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.466, allocations: 51.5 kB / 1.572 GB, free: 75.93 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=123): time 3.116e-06/1.466, allocations: 0 / 1.572 GB, free: 75.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=153): time 0.03672/1.503, allocations: 11.72 MB / 1.583 GB, free: 64.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.503, allocations: 222.9 kB / 1.583 GB, free: 63.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/1.505, allocations: 0.9642 MB / 1.584 GB, free: 62.92 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000351/1.505, allocations: 57.64 kB / 1.584 GB, free: 62.86 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006212/1.506, allocations: 1.254 MB / 1.586 GB, free: 61.58 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006067/1.506, allocations: 0.5238 MB / 1.586 GB, free: 61.05 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/1.506, allocations: 44 kB / 1.586 GB, free: 61.01 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1.507, allocations: 435.1 kB / 1.587 GB, free: 60.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004174/1.511, allocations: 1.807 MB / 1.588 GB, free: 58.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004405/1.515, allocations: 2.482 MB / 1.591 GB, free: 55.97 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/1.52, allocations: 2.137 MB / 1.593 GB, free: 53.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/1.52, allocations: 8 kB / 1.593 GB, free: 53.83 MB / 0.9167 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01139/1.531, allocations: 5.095 MB / 1.598 GB, free: 48.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001924/1.533, allocations: 8.452 MB / 1.606 GB, free: 39.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.301e-05/1.533, allocations: 23.95 kB / 1.606 GB, free: 39.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/1.535, allocations: 0.7465 MB / 1.607 GB, free: 38.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/1.539, allocations: 0.7682 MB / 1.608 GB, free: 38.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/1.55, allocations: 12.78 MB / 1.62 GB, free: 24.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003814/1.554, allocations: 471 kB / 1.62 GB, free: 23.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007334/1.554, allocations: 120 kB / 1.621 GB, free: 23.88 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.554, allocations: 0 / 1.621 GB, free: 23.88 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01195/1.566, allocations: 4.962 MB / 1.625 GB, free: 18.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.997e-05/1.567, allocations: 24 kB / 1.625 GB, free: 18.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/1.568, allocations: 0.6844 MB / 1.626 GB, free: 18.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/1.572, allocations: 0.7721 MB / 1.627 GB, free: 17.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009735/1.581, allocations: 12.65 MB / 1.639 GB, free: 3.945 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/1.585, allocations: 451.2 kB / 1.64 GB, free: 3.504 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006749/1.585, allocations: 116 kB / 1.64 GB, free: 3.391 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.002811/1.588, allocations: 1.32 MB / 1.641 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005364/1.589, allocations: 134.5 kB / 1.641 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/1.6, allocations: 4.561 MB / 1.646 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/1.6, allocations: 19.95 kB / 1.646 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.006e-05/1.6, allocations: 8 kB / 1.646 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/1.6, allocations: 7.969 kB / 1.646 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/1.619, allocations: 8.035 MB / 1.654 GB, free: 5.062 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.619, allocations: 8 kB / 1.654 GB, free: 5.055 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.621, allocations: 0.5268 MB / 1.654 GB, free: 4.527 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/1.623, allocations: 0.6342 MB / 1.655 GB, free: 3.875 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002445/1.623, allocations: 51.95 kB / 1.655 GB, free: 3.824 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/1.637, allocations: 12.32 MB / 1.667 GB, free: 6.699 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/1.637, allocations: 11.94 kB / 1.667 GB, free: 6.688 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.648, allocations: 4.54 MB / 1.671 GB, free: 1.871 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/1.65, allocations: 0.4916 MB / 1.672 GB, free: 1.359 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/1.651, allocations: 39.98 kB / 1.672 GB, free: 1.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.653, allocations: 395.3 kB / 1.672 GB, free: 0.9336 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003642/1.654, allocations: 136.7 kB / 1.672 GB, free: 0.8008 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/1.654, allocations: 59.95 kB / 1.672 GB, free: 0.7422 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00145/1.655, allocations: 0.7567 MB / 1.673 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.4e-07/1.655, allocations: 0 / 1.673 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005717/1.661, allocations: 1.195 MB / 1.674 GB, free: 14.79 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.01128/1.672, allocations: 6.996 MB / 1.681 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02027/1.693, allocations: 8.246 MB / 1.689 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.693, allocations: 0 / 1.689 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006352/1.699, allocations: 2.747 MB / 1.692 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.701, allocations: 153.6 kB / 1.692 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05237/1.753, allocations: 32.38 MB / 1.723 GB, free: 11.03 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/1.756, allocations: 2.381 MB / 1.726 GB, free: 8.609 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004149/1.76, allocations: 1.291 MB / 1.727 GB, free: 7.312 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/1.761, allocations: 0.8741 MB / 1.728 GB, free: 6.438 MB / 1.01 GB Notification: Performance of SimCode: time 5.81e-07/1.761, allocations: 4 kB / 1.728 GB, free: 6.434 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07777/1.839, allocations: 47.21 MB / 1.774 GB, free: 7.555 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/1.839, allocations: 234.3 kB / 1.774 GB, free: 7.316 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.17/5.01, allocations: 0 / 1.774 GB, free: 7.316 MB / 1.057 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat does not exist to compare? outputFormat=mat