Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.3 MB / 235.5 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 93.98 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.983e-05/3.986e-05, allocations: 0 / 344 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1257, allocations: 50.42 MB / 394.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4262/0.552, allocations: 127 MB / 0.5092 GB, free: 8.355 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.5524, allocations: 113.1 kB / 0.5093 GB, free: 8.246 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.153/1.706, allocations: 337.3 MB / 0.8387 GB, free: 10.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.706, allocations: 0 / 0.8387 GB, free: 10.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006136/1.706, allocations: 207.8 kB / 0.8389 GB, free: 10.72 MB / 426.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.03428/1.741, allocations: 8.961 MB / 0.8477 GB, free: 1.676 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.741, allocations: 12.03 kB / 0.8477 GB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009073/1.75, allocations: 1.531 MB / 0.8492 GB, free: 120 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02629/1.776, allocations: 4.226 MB / 0.8533 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02137/1.798, allocations: 8.036 MB / 0.8611 GB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008032/1.798, allocations: 0.6781 MB / 0.8618 GB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004362/1.803, allocations: 0.8788 MB / 0.8627 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04493/1.848, allocations: 15.41 MB / 0.8777 GB, free: 2.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004401/1.848, allocations: 11.84 kB / 0.8777 GB, free: 2.469 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003827/1.852, allocations: 392 kB / 0.8781 GB, free: 2.086 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001091/1.853, allocations: 0.7343 MB / 0.8788 GB, free: 1.348 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6949/2.548, allocations: 13.51 MB / 0.892 GB, free: 50.36 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1068/2.655, allocations: 51.35 MB / 0.9421 GB, free: 40.3 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0227/2.678, allocations: 26.33 MB / 0.9679 GB, free: 16.91 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006317/2.684, allocations: 3.176 MB / 0.971 GB, free: 15.66 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/2.685, allocations: 165.3 kB / 0.9711 GB, free: 15.55 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.243e-05/2.685, allocations: 79.42 kB / 0.9712 GB, free: 15.48 MB / 458.8 MB Notification: Performance of pre-optimization done (n=404): time 6.141e-06/2.685, allocations: 1.375 kB / 0.9712 GB, free: 15.48 MB / 458.8 MB Notification: Performance of matching and sorting (n=410): time 0.02431/2.709, allocations: 12.37 MB / 0.9833 GB, free: 9.961 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/2.709, allocations: 92.62 kB / 0.9834 GB, free: 9.895 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005559/2.715, allocations: 3.216 MB / 0.9865 GB, free: 8.641 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000857/2.716, allocations: 89.17 kB / 0.9866 GB, free: 8.559 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002304/2.718, allocations: 3.991 MB / 0.9905 GB, free: 5.562 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001766/2.72, allocations: 1.392 MB / 0.9918 GB, free: 4.492 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/2.72, allocations: 122.1 kB / 0.992 GB, free: 4.398 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003251/2.72, allocations: 0.5412 MB / 0.9925 GB, free: 3.988 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/2.724, allocations: 2.72 MB / 0.9951 GB, free: 2.91 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00543/2.73, allocations: 4.863 MB / 0.9999 GB, free: 15.11 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007211/2.737, allocations: 3.907 MB / 1.004 GB, free: 13.59 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/2.737, allocations: 27.67 kB / 1.004 GB, free: 13.59 MB / 474.8 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02043/2.758, allocations: 8.926 MB / 1.012 GB, free: 10.58 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/2.758, allocations: 36.66 kB / 1.012 GB, free: 10.58 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001905/2.758, allocations: 72.25 kB / 1.013 GB, free: 10.58 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003458/2.761, allocations: 1.21 MB / 1.014 GB, free: 10.35 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005558/2.767, allocations: 1.32 MB / 1.015 GB, free: 10.3 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/2.783, allocations: 9.057 MB / 1.024 GB, free: 4.457 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005852/2.789, allocations: 345.1 kB / 1.024 GB, free: 4.18 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002119/2.791, allocations: 286.2 kB / 1.024 GB, free: 3.91 MB / 474.8 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.002961/2.794, allocations: 477.5 kB / 1.025 GB, free: 3.527 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002332/2.796, allocations: 394.9 kB / 1.025 GB, free: 3.141 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02255/2.819, allocations: 7.204 MB / 1.032 GB, free: 15.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01087/2.83, allocations: 5.466 MB / 1.038 GB, free: 10.64 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-05/2.83, allocations: 12 kB / 1.038 GB, free: 10.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.799e-05/2.83, allocations: 29.84 kB / 1.038 GB, free: 10.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0372/2.867, allocations: 16.23 MB / 1.054 GB, free: 13.24 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/2.867, allocations: 7.375 kB / 1.054 GB, free: 13.23 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003012/2.87, allocations: 0.7172 MB / 1.054 GB, free: 12.63 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/2.873, allocations: 1.06 MB / 1.055 GB, free: 11.83 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005631/2.874, allocations: 94 kB / 1.055 GB, free: 11.75 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/2.886, allocations: 8.016 MB / 1.063 GB, free: 4.66 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/2.887, allocations: 4 kB / 1.063 GB, free: 4.656 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4147/3.301, allocations: 10.42 MB / 1.073 GB, free: 89.38 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003637/3.305, allocations: 0.9716 MB / 1.074 GB, free: 89.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/3.306, allocations: 77.69 kB / 1.074 GB, free: 89.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/3.309, allocations: 207.6 kB / 1.075 GB, free: 89.29 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/3.31, allocations: 290.9 kB / 1.075 GB, free: 89.29 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/3.31, allocations: 121.4 kB / 1.075 GB, free: 89.29 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004494/3.314, allocations: 2.406 MB / 1.077 GB, free: 89.12 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.71e-07/3.314, allocations: 0 / 1.077 GB, free: 89.12 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009832/3.324, allocations: 1.653 MB / 1.079 GB, free: 89.12 MB / 0.4949 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.02298/3.347, allocations: 12.27 MB / 1.091 GB, free: 86.48 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0174/3.365, allocations: 6.969 MB / 1.098 GB, free: 86.2 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/3.365, allocations: 3.031 kB / 1.098 GB, free: 86.2 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007845/3.373, allocations: 3.322 MB / 1.101 GB, free: 86 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007537/3.38, allocations: 0.8573 MB / 1.102 GB, free: 85.98 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05618/3.437, allocations: 17.06 MB / 1.119 GB, free: 83.21 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01366/3.45, allocations: 6.349 MB / 1.125 GB, free: 82.31 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008107/3.458, allocations: 1.911 MB / 1.127 GB, free: 82.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008041/3.466, allocations: 3.212 MB / 1.13 GB, free: 82.2 MB / 0.4949 GB Notification: Performance of SimCode: time 2.625e-06/3.467, allocations: 0 / 1.13 GB, free: 82.2 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5359/4.002, allocations: 128.7 MB / 1.255 GB, free: 61.57 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/4.003, allocations: 235.5 kB / 1.256 GB, free: 61.26 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.18/10.18, allocations: 3.719 kB / 1.256 GB, free: 61.26 MB / 0.4949 GB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat does not exist to compare? outputFormat=mat