Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 100.2 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.497e-05, allocations: 4 kB / 343.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 51.49 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.5861, allocations: 127.2 MB / 0.5103 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.5865, allocations: 102.4 kB / 0.5104 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282/1.869, allocations: 351.3 MB / 0.8534 GB, free: 33.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.869, allocations: 0 / 0.8534 GB, free: 33.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008624/1.87, allocations: 204.7 kB / 0.8536 GB, free: 33.21 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03437/1.904, allocations: 8.993 MB / 0.8624 GB, free: 29.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.904, allocations: 6.625 kB / 0.8624 GB, free: 29.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02345/1.928, allocations: 4.209 MB / 0.8665 GB, free: 28.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/1.947, allocations: 8.037 MB / 0.8743 GB, free: 24.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006569/1.948, allocations: 293.5 kB / 0.8746 GB, free: 24.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003775/1.951, allocations: 0.5219 MB / 0.8751 GB, free: 24 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02942/1.981, allocations: 12.23 MB / 0.8871 GB, free: 12.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04453/2.025, allocations: 13.97 MB / 0.9007 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006437/2.026, allocations: 11.72 kB / 0.9007 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003751/2.03, allocations: 8 kB / 0.9007 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/2.031, allocations: 0.7304 MB / 0.9015 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4373/2.468, allocations: 51.55 MB / 0.9518 GB, free: 42.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02429/2.493, allocations: 27.27 MB / 0.9784 GB, free: 21.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00549/2.498, allocations: 3.349 MB / 0.9817 GB, free: 21.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004595/2.499, allocations: 242.7 kB / 0.9819 GB, free: 20.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/2.499, allocations: 78.98 kB / 0.982 GB, free: 20.81 MB / 458.7 MB Notification: Performance of pre-optimization done (n=404): time 5.73e-06/2.499, allocations: 0 / 0.982 GB, free: 20.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=410): time 0.03873/2.537, allocations: 15.7 MB / 0.9973 GB, free: 19.15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/2.538, allocations: 95.62 kB / 0.9974 GB, free: 19.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005215/2.543, allocations: 2.875 MB / 1 GB, free: 18.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007163/2.544, allocations: 30.92 kB / 1 GB, free: 18.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002395/2.546, allocations: 3.991 MB / 1.004 GB, free: 16.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001811/2.548, allocations: 1.337 MB / 1.005 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004887/2.548, allocations: 0 / 1.005 GB, free: 15.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003311/2.549, allocations: 0.544 MB / 1.006 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003527/2.552, allocations: 2.763 MB / 1.009 GB, free: 15.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004996/2.557, allocations: 4.869 MB / 1.013 GB, free: 11.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/2.569, allocations: 5.226 MB / 1.019 GB, free: 9.434 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/2.569, allocations: 23.69 kB / 1.019 GB, free: 9.434 MB / 458.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.0226/2.591, allocations: 9.876 MB / 1.028 GB, free: 6.367 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.571e-05/2.591, allocations: 31.88 kB / 1.028 GB, free: 6.367 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/2.592, allocations: 71 kB / 1.028 GB, free: 6.367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003098/2.595, allocations: 1.196 MB / 1.029 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005666/2.6, allocations: 1.361 MB / 1.031 GB, free: 6.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/2.612, allocations: 8.772 MB / 1.039 GB, free: 1.465 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005184/2.618, allocations: 255.9 kB / 1.04 GB, free: 1.445 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/2.619, allocations: 290.4 kB / 1.04 GB, free: 1.395 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009573/2.62, allocations: 296.4 kB / 1.04 GB, free: 1.223 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01504/2.635, allocations: 6.898 MB / 1.047 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/2.636, allocations: 381.8 kB / 1.047 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0174/2.653, allocations: 7.66 MB / 1.055 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01424/2.668, allocations: 6.627 MB / 1.061 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/2.668, allocations: 8 kB / 1.061 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.176e-05/2.668, allocations: 21.84 kB / 1.061 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03718/2.705, allocations: 16.29 MB / 1.077 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/2.705, allocations: 8 kB / 1.077 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003364/2.708, allocations: 0.7571 MB / 1.078 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00324/2.712, allocations: 1.065 MB / 1.079 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006398/2.712, allocations: 36.16 kB / 1.079 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/2.725, allocations: 7.787 MB / 1.087 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/2.725, allocations: 7.938 kB / 1.087 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02304/2.748, allocations: 11.47 MB / 1.098 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003098/2.751, allocations: 0.9893 MB / 1.099 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/2.752, allocations: 4 kB / 1.099 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002651/2.755, allocations: 183.1 kB / 1.099 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005973/2.756, allocations: 288.9 kB / 1.099 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002697/2.756, allocations: 118.8 kB / 1.099 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003782/2.76, allocations: 2.105 MB / 1.101 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.21e-07/2.76, allocations: 0 / 1.101 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007813/2.768, allocations: 1.467 MB / 1.103 GB, free: 0.832 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,39.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3688/3.136, allocations: 13.45 MB / 1.116 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01149/3.148, allocations: 6.957 MB / 1.123 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/3.148, allocations: 0 / 1.123 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00638/3.154, allocations: 3.376 MB / 1.126 GB, free: 91.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/3.159, allocations: 0.6969 MB / 1.127 GB, free: 91.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04411/3.203, allocations: 17 MB / 1.143 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009837/3.213, allocations: 6.362 MB / 1.15 GB, free: 87.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006502/3.219, allocations: 1.898 MB / 1.151 GB, free: 87.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00775/3.227, allocations: 3.227 MB / 1.155 GB, free: 87.83 MB / 0.4948 GB Notification: Performance of SimCode: time 3.466e-06/3.227, allocations: 0.75 kB / 1.155 GB, free: 87.83 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1922/3.419, allocations: 120 MB / 1.272 GB, free: 20.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/3.42, allocations: 218.9 kB / 1.272 GB, free: 19.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.17/8.59, allocations: 0 / 1.272 GB, free: 19.9 MB / 0.4948 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat does not exist to compare? outputFormat=mat