Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009391/0.0009391, allocations: 95.27 kB / 297.2 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002431/0.0002431, allocations: 12 kB / 358 MB, free: 9.414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2592, allocations: 51.49 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3791/0.6383, allocations: 131.6 MB / 0.5284 GB, free: 45.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.6386, allocations: 93.62 kB / 0.5285 GB, free: 45.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.573/1.212, allocations: 154.3 MB / 0.6792 GB, free: 50.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.212, allocations: 0 / 0.6792 GB, free: 50.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008142/1.212, allocations: 183 kB / 0.6794 GB, free: 50.36 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02144/1.234, allocations: 7.349 MB / 0.6865 GB, free: 48.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.234, allocations: 7.938 kB / 0.6866 GB, free: 48.38 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003063/1.237, allocations: 0.9377 MB / 0.6875 GB, free: 48.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006378/1.243, allocations: 1.283 MB / 0.6887 GB, free: 47.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01525/1.259, allocations: 6.315 MB / 0.6949 GB, free: 46.97 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000447/1.259, allocations: 0.5 MB / 0.6954 GB, free: 46.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/1.261, allocations: 0.671 MB / 0.696 GB, free: 46.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/1.279, allocations: 9.318 MB / 0.7051 GB, free: 46.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/1.279, allocations: 14.31 kB / 0.7051 GB, free: 46.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006749/1.28, allocations: 288.2 kB / 0.7054 GB, free: 46.01 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/1.28, allocations: 294.8 kB / 0.7057 GB, free: 45.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.013/1.293, allocations: 7.669 MB / 0.7132 GB, free: 45.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04578/1.339, allocations: 29.66 MB / 0.7422 GB, free: 39.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009129/1.348, allocations: 12.16 MB / 0.754 GB, free: 30.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/1.362, allocations: 7.254 MB / 0.7611 GB, free: 26.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/1.362, allocations: 75.11 kB / 0.7612 GB, free: 26.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=323): time 5.35e-06/1.362, allocations: 3.781 kB / 0.7612 GB, free: 26.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=342): time 0.03019/1.392, allocations: 16.31 MB / 0.7771 GB, free: 18.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/1.392, allocations: 89.44 kB / 0.7772 GB, free: 18.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004935/1.397, allocations: 3.499 MB / 0.7806 GB, free: 17.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006235/1.398, allocations: 84.52 kB / 0.7807 GB, free: 17.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001672/1.4, allocations: 3.063 MB / 0.7837 GB, free: 14.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009857/1.401, allocations: 1.149 MB / 0.7848 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/1.401, allocations: 77.59 kB / 0.7849 GB, free: 13.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002131/1.401, allocations: 455.6 kB / 0.7853 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002787/1.404, allocations: 1.942 MB / 0.7872 GB, free: 12.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002871/1.407, allocations: 2.819 MB / 0.79 GB, free: 11.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002844/1.41, allocations: 2.354 MB / 0.7923 GB, free: 10 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/1.41, allocations: 7.906 kB / 0.7923 GB, free: 10 MB / 458.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.008928/1.419, allocations: 6.512 MB / 0.7986 GB, free: 7.367 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/1.419, allocations: 18.88 kB / 0.7987 GB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-05/1.419, allocations: 32.06 kB / 0.7987 GB, free: 7.363 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/1.421, allocations: 1.254 MB / 0.7999 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/1.424, allocations: 0.8329 MB / 0.8007 GB, free: 6.898 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/1.441, allocations: 21.12 MB / 0.8214 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/1.446, allocations: 206.3 kB / 0.8216 GB, free: 5.406 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006775/1.446, allocations: 148.2 kB / 0.8217 GB, free: 5.379 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 415 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(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.004814/1.451, allocations: 2.192 MB / 0.8238 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.452, allocations: 454.5 kB / 0.8243 GB, free: 3.672 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/1.464, allocations: 6.357 MB / 0.8305 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/1.464, allocations: 39.14 kB / 0.8305 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/1.464, allocations: 16 kB / 0.8305 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/1.464, allocations: 14.62 kB / 0.8305 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02442/1.488, allocations: 12.75 MB / 0.843 GB, free: 3.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.489, allocations: 7.953 kB / 0.843 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/1.491, allocations: 0.4894 MB / 0.8435 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003852/1.495, allocations: 1.61 MB / 0.8451 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/1.495, allocations: 78.19 kB / 0.8451 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2749/1.77, allocations: 30.74 MB / 0.8751 GB, free: 55.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.77, allocations: 8.984 kB / 0.8751 GB, free: 55.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/1.783, allocations: 9.365 MB / 0.8843 GB, free: 54.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003096/1.786, allocations: 0.9486 MB / 0.8852 GB, free: 54.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007183/1.787, allocations: 67.25 kB / 0.8853 GB, free: 54.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/1.789, allocations: 207.9 kB / 0.8855 GB, free: 54.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007306/1.789, allocations: 291.8 kB / 0.8858 GB, free: 54.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/1.79, allocations: 88.72 kB / 0.8858 GB, free: 54.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003994/1.794, allocations: 2.682 MB / 0.8885 GB, free: 53.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.794, allocations: 0 / 0.8885 GB, free: 53.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004854/1.799, allocations: 1.402 MB / 0.8898 GB, free: 53.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(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%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0119/1.81, allocations: 11.04 MB / 0.9006 GB, free: 51.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007756/1.818, allocations: 6.491 MB / 0.907 GB, free: 49.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.818, allocations: 0 / 0.907 GB, free: 49.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005935/1.824, allocations: 4.912 MB / 0.9118 GB, free: 47.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005784/1.83, allocations: 1.27 MB / 0.913 GB, free: 47.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0792/1.909, allocations: 60.67 MB / 0.9722 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007557/1.917, allocations: 4.622 MB / 0.9768 GB, free: 9.148 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004272/1.921, allocations: 1.066 MB / 0.9778 GB, free: 9.039 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003901/1.925, allocations: 2.682 MB / 0.9804 GB, free: 6.801 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/1.925, allocations: 0 / 0.9804 GB, free: 6.801 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4361/2.361, allocations: 124 MB / 1.102 GB, free: 82.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/2.361, allocations: 251.1 kB / 1.102 GB, free: 82.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.28/7.641, allocations: 0 / 1.102 GB, free: 82.28 MB / 0.4948 GB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat