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.001534/0.001534, allocations: 196.4 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009585/0.0009586, allocations: 90.69 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.93e-05/4.934e-05, allocations: 8 kB / 350.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1248, allocations: 51.49 MB / 402.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4561/0.581, allocations: 127.9 MB / 0.5176 GB, free: 10.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/0.5814, allocations: 106 kB / 0.5177 GB, free: 10.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.322/1.904, allocations: 354.8 MB / 0.8642 GB, free: 44.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.904, allocations: 0 / 0.8642 GB, free: 44.65 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009824/1.905, allocations: 220.6 kB / 0.8644 GB, free: 44.61 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04108/1.946, allocations: 8.988 MB / 0.8732 GB, free: 38.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/1.946, allocations: 16.03 kB / 0.8732 GB, free: 38.25 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008714/1.955, allocations: 1.544 MB / 0.8747 GB, free: 36.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02559/1.98, allocations: 4.209 MB / 0.8788 GB, free: 32.51 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02366/2.004, allocations: 8.051 MB / 0.8867 GB, free: 24.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009809/2.005, allocations: 0.6718 MB / 0.8874 GB, free: 23.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005478/2.011, allocations: 0.8794 MB / 0.8882 GB, free: 22.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05079/2.061, allocations: 15.4 MB / 0.9033 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003605/2.062, allocations: 11.91 kB / 0.9033 GB, free: 7.262 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003486/2.065, allocations: 386.6 kB / 0.9036 GB, free: 6.895 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001132/2.067, allocations: 0.7337 MB / 0.9044 GB, free: 6.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4281/2.495, allocations: 13.52 MB / 0.9176 GB, free: 43.06 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1203/2.615, allocations: 52.41 MB / 0.9687 GB, free: 33.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02955/2.645, allocations: 26.33 MB / 0.9945 GB, free: 26.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005113/2.65, allocations: 3.174 MB / 0.9976 GB, free: 25.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004984/2.65, allocations: 249.1 kB / 0.9978 GB, free: 25.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/2.65, allocations: 75.61 kB / 0.9979 GB, free: 25.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=404): time 5.991e-06/2.65, allocations: 0.6562 kB / 0.9979 GB, free: 25.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=410): time 0.02487/2.675, allocations: 12.37 MB / 1.01 GB, free: 19.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/2.675, allocations: 95.84 kB / 1.01 GB, free: 19.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005987/2.681, allocations: 3.215 MB / 1.013 GB, free: 18.64 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008202/2.682, allocations: 92.33 kB / 1.013 GB, free: 18.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002469/2.685, allocations: 3.984 MB / 1.017 GB, free: 15.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001827/2.687, allocations: 1.402 MB / 1.019 GB, free: 14.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/2.687, allocations: 117.2 kB / 1.019 GB, free: 14.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004616/2.687, allocations: 0.549 MB / 1.019 GB, free: 13.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0042/2.692, allocations: 2.72 MB / 1.022 GB, free: 12.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006652/2.698, allocations: 4.868 MB / 1.027 GB, free: 9.102 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009564/2.708, allocations: 3.899 MB / 1.03 GB, free: 7.559 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/2.708, allocations: 21.28 kB / 1.03 GB, free: 7.559 MB / 474.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02857/2.737, allocations: 8.924 MB / 1.039 GB, free: 4.551 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/2.737, allocations: 37.53 kB / 1.039 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002377/2.737, allocations: 72.22 kB / 1.039 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/2.742, allocations: 1.217 MB / 1.04 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008059/2.75, allocations: 1.317 MB / 1.042 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0168/2.767, allocations: 9.091 MB / 1.051 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005208/2.772, allocations: 336.8 kB / 1.051 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/2.773, allocations: 282.3 kB / 1.051 GB, free: 15.41 MB / 490.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.001078/2.774, allocations: 479.8 kB / 1.052 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/2.775, allocations: 401.7 kB / 1.052 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/2.787, allocations: 6.571 MB / 1.058 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00901/2.796, allocations: 5.472 MB / 1.064 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/2.796, allocations: 15.75 kB / 1.064 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/2.796, allocations: 19.03 kB / 1.064 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03682/2.833, allocations: 16.31 MB / 1.08 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/2.833, allocations: 4 kB / 1.08 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/2.836, allocations: 0.723 MB / 1.08 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003331/2.84, allocations: 1.065 MB / 1.081 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006865/2.84, allocations: 90.47 kB / 1.082 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/2.854, allocations: 8.014 MB / 1.089 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/2.854, allocations: 11.94 kB / 1.089 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3777/3.231, allocations: 10.15 MB / 1.099 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003227/3.235, allocations: 0.9739 MB / 1.1 GB, free: 85.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/3.236, allocations: 75.38 kB / 1.1 GB, free: 85.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/3.238, allocations: 210.2 kB / 1.101 GB, free: 85.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006198/3.239, allocations: 291.2 kB / 1.101 GB, free: 85.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003318/3.239, allocations: 116.5 kB / 1.101 GB, free: 85.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004234/3.243, allocations: 2.406 MB / 1.103 GB, free: 85.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.21e-07/3.243, allocations: 0 / 1.103 GB, free: 85.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008441/3.252, allocations: 1.663 MB / 1.105 GB, free: 85.26 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,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01749/3.269, allocations: 12.27 MB / 1.117 GB, free: 82.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01613/3.285, allocations: 6.967 MB / 1.124 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/3.286, allocations: 1.062 kB / 1.124 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006874/3.292, allocations: 3.317 MB / 1.127 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006115/3.299, allocations: 0.8671 MB / 1.128 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05122/3.35, allocations: 17.21 MB / 1.145 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00996/3.36, allocations: 6.355 MB / 1.151 GB, free: 78.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006342/3.366, allocations: 1.908 MB / 1.153 GB, free: 78.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006038/3.372, allocations: 3.218 MB / 1.156 GB, free: 78.28 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/3.372, allocations: 0 / 1.156 GB, free: 78.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5716/3.944, allocations: 128.8 MB / 1.282 GB, free: 58.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/3.944, allocations: 237.7 kB / 1.282 GB, free: 58 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.832/9.776, allocations: 0 / 1.282 GB, free: 58 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