Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001731/0.001731, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009886/0.0009887, allocations: 88.91 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.701e-05, allocations: 4 kB / 350.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 51.49 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.5798, allocations: 148.3 MB / 0.5376 GB, free: 5.996 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/0.5802, allocations: 100.1 kB / 0.5377 GB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.398/1.979, allocations: 365.5 MB / 0.8946 GB, free: 1.367 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.979, allocations: 3.984 kB / 0.8946 GB, free: 1.363 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00169/1.98, allocations: 255.7 kB / 0.8949 GB, free: 1.113 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.04731/2.028, allocations: 10.24 MB / 0.9049 GB, free: 6.773 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/2.028, allocations: 8.031 kB / 0.9049 GB, free: 6.766 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01023/2.038, allocations: 1.498 MB / 0.9063 GB, free: 5.254 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03146/2.07, allocations: 4.771 MB / 0.911 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8469/2.917, allocations: 9.487 MB / 0.9202 GB, free: 24.52 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008762/2.918, allocations: 0.7702 MB / 0.921 GB, free: 24.49 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005417/2.923, allocations: 1.025 MB / 0.922 GB, free: 24.48 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05363/2.977, allocations: 16.78 MB / 0.9384 GB, free: 23.29 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007017/2.977, allocations: 16.83 kB / 0.9384 GB, free: 23.29 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00443/2.982, allocations: 448.2 kB / 0.9388 GB, free: 23.29 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001051/2.983, allocations: 0.7453 MB / 0.9396 GB, free: 23.26 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04142/3.024, allocations: 15.03 MB / 0.9542 GB, free: 23.15 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1362/3.161, allocations: 57.06 MB / 1.01 GB, free: 84 kB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04011/3.201, allocations: 31.44 MB / 1.041 GB, free: 4.969 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008972/3.21, allocations: 4.246 MB / 1.045 GB, free: 3.332 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02886/3.239, allocations: 10.84 MB / 1.055 GB, free: 14.23 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.605e-05/3.239, allocations: 78.34 kB / 1.055 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=396): time 1.063e-05/3.239, allocations: 1.562 kB / 1.055 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of matching and sorting (n=421): time 0.0417/3.281, allocations: 16.01 MB / 1.071 GB, free: 6.086 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/3.281, allocations: 119.3 kB / 1.071 GB, free: 5.988 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/3.292, allocations: 4.092 MB / 1.075 GB, free: 2.949 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001151/3.294, allocations: 93.7 kB / 1.075 GB, free: 2.852 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004682/3.298, allocations: 4.67 MB / 1.08 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002556/3.301, allocations: 1.443 MB / 1.081 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/3.302, allocations: 123.6 kB / 1.081 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008249/3.303, allocations: 0.5397 MB / 1.082 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006131/3.309, allocations: 2.8 MB / 1.085 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009249/3.318, allocations: 4.825 MB / 1.089 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008584/3.327, allocations: 3.877 MB / 1.093 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/3.327, allocations: 20 kB / 1.093 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.4238/3.751, allocations: 10.07 MB / 1.103 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/3.751, allocations: 35.22 kB / 1.103 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/3.751, allocations: 67.91 kB / 1.103 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004665/3.756, allocations: 1.666 MB / 1.105 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005555/3.762, allocations: 1.311 MB / 1.106 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/3.782, allocations: 16.38 MB / 1.122 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006163/3.788, allocations: 337.2 kB / 1.122 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/3.789, allocations: 285.8 kB / 1.123 GB, free: 75.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (669): * Single equations (assignments): 665 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1,(14,40.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001229/3.79, allocations: 472 kB / 1.123 GB, free: 75.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/3.791, allocations: 499.4 kB / 1.124 GB, free: 75.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/3.806, allocations: 7.634 MB / 1.131 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-05/3.806, allocations: 43.06 kB / 1.131 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.67e-05/3.806, allocations: 17.78 kB / 1.131 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.225e-05/3.806, allocations: 22.55 kB / 1.131 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03806/3.844, allocations: 17.29 MB / 1.148 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-05/3.844, allocations: 6.75 kB / 1.148 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004053/3.848, allocations: 0.7183 MB / 1.149 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005629/3.854, allocations: 1.558 MB / 1.15 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/3.855, allocations: 109.2 kB / 1.15 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02306/3.878, allocations: 19.43 MB / 1.169 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/3.878, allocations: 12.56 kB / 1.169 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02274/3.901, allocations: 11.91 MB / 1.181 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004145/3.905, allocations: 1.155 MB / 1.182 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002112/3.907, allocations: 87.47 kB / 1.182 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004258/3.911, allocations: 244.9 kB / 1.182 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001394/3.913, allocations: 321.2 kB / 1.183 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008416/3.914, allocations: 126.9 kB / 1.183 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008066/3.922, allocations: 3.079 MB / 1.186 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.9e-07/3.922, allocations: 0 / 1.186 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01141/3.933, allocations: 1.924 MB / 1.188 GB, free: 61.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (362): * Single equations (assignments): 355 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,39.8%) 44,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02624/3.959, allocations: 14.4 MB / 1.202 GB, free: 53.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01633/3.976, allocations: 7.871 MB / 1.209 GB, free: 50.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/3.976, allocations: 4.562 kB / 1.209 GB, free: 50.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0095/3.985, allocations: 4.557 MB / 1.214 GB, free: 48.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009421/3.995, allocations: 1.192 MB / 1.215 GB, free: 48.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0623/4.057, allocations: 19.66 MB / 1.234 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0174/4.075, allocations: 6.96 MB / 1.241 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009406/4.084, allocations: 1.85 MB / 1.243 GB, free: 31.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009143/4.093, allocations: 3.972 MB / 1.247 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/4.093, allocations: 4 kB / 1.247 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7095/4.803, allocations: 153 MB / 1.396 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/4.803, allocations: 243.6 kB / 1.396 GB, free: 50.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/11.76, allocations: 3.828 kB / 1.396 GB, free: 50.9 MB / 0.5105 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat does not exist to compare? outputFormat=mat