Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009197/0.0009199, allocations: 93 kB / 16.94 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009387/0.0009388, allocations: 185.1 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000576/0.0005762, allocations: 12 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.0926, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02357/0.1162, allocations: 22.25 MB / 350.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.1328, allocations: 7.615 MB / 358.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005165/0.138, allocations: 155.2 kB / 358.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005633/0.1436, allocations: 1.473 MB / 359.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009509/0.1532, allocations: 2.356 MB / 362.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004878/0.1581, allocations: 1.131 MB / 363.4 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01509/0.1732, allocations: 8.365 MB / 371.8 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/0.1881, allocations: 7.267 MB / 379 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2021/0.3903, allocations: 3.926 MB / 383 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01107/0.4014, allocations: 4.687 MB / 387.6 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004804/0.4063, allocations: 0.6631 MB / 388.3 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008126/0.4144, allocations: 0.8297 MB / 389.1 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006585/0.421, allocations: 2.473 MB / 391.6 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008378/0.4294, allocations: 2.321 MB / 393.9 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01943/0.4489, allocations: 17.66 MB / 411.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.449, allocations: 2.406 kB / 411.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.449, allocations: 0.625 kB / 411.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008144/0.4498, allocations: 0 / 411.6 MB, free: 7.422 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.03441/0.4842, allocations: 11.17 MB / 422.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4843, allocations: 8.031 kB / 422.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006635/0.4909, allocations: 1.38 MB / 424.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.5066, allocations: 2.329 MB / 426.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02086/0.5275, allocations: 7.23 MB / 433.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/0.5286, allocations: 0.7476 MB / 434.5 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005147/0.5337, allocations: 0.9788 MB / 435.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04635/0.5801, allocations: 14.28 MB / 449.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000396/0.5806, allocations: 17.86 kB / 449.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00355/0.5841, allocations: 413.6 kB / 450.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000528/0.5847, allocations: 456.4 kB / 450.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03542/0.6201, allocations: 12.5 MB / 463.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09963/0.7198, allocations: 44.3 MB / 0.4955 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02651/0.7464, allocations: 25.06 MB / 0.52 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02217/0.7686, allocations: 10.02 MB / 0.5298 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.7687, allocations: 78.08 kB / 0.5298 GB, free: 12.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=447): time 5.831e-06/0.7687, allocations: 0 / 0.5298 GB, free: 12.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=455): time 0.2649/1.034, allocations: 23.04 MB / 0.5523 GB, free: 146 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/1.034, allocations: 98.73 kB / 0.5524 GB, free: 145.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009883/1.044, allocations: 5.287 MB / 0.5576 GB, free: 144 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009762/1.045, allocations: 103.9 kB / 0.5577 GB, free: 144 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0034/1.048, allocations: 4.417 MB / 0.562 GB, free: 140.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001798/1.05, allocations: 1.518 MB / 0.5635 GB, free: 139.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/1.05, allocations: 104.8 kB / 0.5636 GB, free: 139.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002575/1.05, allocations: 0.5035 MB / 0.5641 GB, free: 139 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/1.055, allocations: 2.514 MB / 0.5665 GB, free: 138 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004515/1.059, allocations: 3.723 MB / 0.5702 GB, free: 135.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004224/1.064, allocations: 3.088 MB / 0.5732 GB, free: 134.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-05/1.064, allocations: 11.31 kB / 0.5732 GB, free: 134.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=650) (initialization): time 0.01301/1.077, allocations: 8.426 MB / 0.5814 GB, free: 130.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/1.077, allocations: 25.42 kB / 0.5814 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.558e-05/1.077, allocations: 35.91 kB / 0.5815 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/1.08, allocations: 1.569 MB / 0.583 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/1.085, allocations: 1.055 MB / 0.584 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/1.104, allocations: 27.71 MB / 0.6111 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005553/1.11, allocations: 247.8 kB / 0.6113 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009757/1.111, allocations: 196 kB / 0.6115 GB, free: 101.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 543 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 14 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 25,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007478/1.118, allocations: 3.305 MB / 0.6147 GB, free: 97.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001735/1.12, allocations: 0.5751 MB / 0.6153 GB, free: 97.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.132, allocations: 8.277 MB / 0.6234 GB, free: 88.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/1.132, allocations: 44 kB / 0.6234 GB, free: 88.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.37e-05/1.132, allocations: 28 kB / 0.6235 GB, free: 88.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/1.132, allocations: 19.92 kB / 0.6235 GB, free: 88.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03501/1.167, allocations: 17.61 MB / 0.6407 GB, free: 71.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.167, allocations: 8 kB / 0.6407 GB, free: 71.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.17, allocations: 0.5037 MB / 0.6412 GB, free: 70.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004826/1.175, allocations: 2.336 MB / 0.6435 GB, free: 68.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004193/1.175, allocations: 104 kB / 0.6436 GB, free: 68.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03025/1.205, allocations: 35.79 MB / 0.6785 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.205, allocations: 7.984 kB / 0.6785 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/1.223, allocations: 12.38 MB / 0.6906 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004633/1.228, allocations: 1.224 MB / 0.6918 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002142/1.23, allocations: 92 kB / 0.6919 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004023/1.234, allocations: 255.8 kB / 0.6921 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00115/1.235, allocations: 454.9 kB / 0.6926 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003091/1.235, allocations: 124 kB / 0.6927 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006787/1.242, allocations: 3.596 MB / 0.6962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.11e-07/1.242, allocations: 0 / 0.6962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01026/1.253, allocations: 1.883 MB / 0.698 GB, free: 10.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (aimsM.inertiaRotor.w,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aims3.inertiaRotor.w,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.zeroInductor.i0,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 256 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(11,49.6%) 56,(1,100.0%) 1,(6,72.2%) 46,(2,100.0%) 12,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2431/1.496, allocations: 13.95 MB / 0.7117 GB, free: 131.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01371/1.509, allocations: 8.233 MB / 0.7197 GB, free: 129.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.509, allocations: 3 kB / 0.7197 GB, free: 129.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01012/1.52, allocations: 5.975 MB / 0.7255 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008277/1.528, allocations: 1.573 MB / 0.7271 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1321/1.66, allocations: 85.27 MB / 0.8103 GB, free: 55.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007312/1.667, allocations: 6.566 MB / 0.8168 GB, free: 49.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005112/1.673, allocations: 1.315 MB / 0.818 GB, free: 48.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005619/1.678, allocations: 3.92 MB / 0.8219 GB, free: 44.43 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/1.678, allocations: 4 kB / 0.8219 GB, free: 44.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4255/2.104, allocations: 160 MB / 0.9781 GB, free: 67.91 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/2.104, allocations: 229.8 kB / 0.9783 GB, free: 67.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.537/7.641, allocations: 7.875 kB / 0.9783 GB, free: 67.67 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase_res.mat does not exist to compare? outputFormat=mat