Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001331/0.001332, allocations: 180.5 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008693/0.0008692, allocations: 90.66 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002884, allocations: 4 kB / 328.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.261, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.4114, allocations: 126.3 MB / 0.4904 GB, free: 2.285 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.4117, allocations: 107.9 kB / 0.4905 GB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292/1.703, allocations: 338.3 MB / 0.821 GB, free: 47.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.776e-06/1.703, allocations: 0 / 0.821 GB, free: 47.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001011/1.704, allocations: 218 kB / 0.8212 GB, free: 47.36 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.0341/1.738, allocations: 9.488 MB / 0.8304 GB, free: 44.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.739, allocations: 10.28 kB / 0.8304 GB, free: 44.47 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007569/1.746, allocations: 1.585 MB / 0.832 GB, free: 44.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02789/1.774, allocations: 4.884 MB / 0.8368 GB, free: 43.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02128/1.795, allocations: 7.9 MB / 0.8445 GB, free: 42.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00142/1.797, allocations: 0.6942 MB / 0.8451 GB, free: 42.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005292/1.802, allocations: 0.8981 MB / 0.846 GB, free: 42.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04526/1.847, allocations: 16.7 MB / 0.8623 GB, free: 41.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005677/1.848, allocations: 19.53 kB / 0.8623 GB, free: 41.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004363/1.852, allocations: 392.2 kB / 0.8627 GB, free: 41.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009394/1.853, allocations: 0.6995 MB / 0.8634 GB, free: 41.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03386/1.887, allocations: 15.44 MB / 0.8785 GB, free: 41.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/1.99, allocations: 53.88 MB / 0.9311 GB, free: 16.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02694/2.017, allocations: 18.86 MB / 0.9495 GB, free: 14.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05057/2.068, allocations: 22.8 MB / 0.9718 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.705e-05/2.068, allocations: 94.81 kB / 0.9719 GB, free: 11.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=686): time 1.082e-05/2.068, allocations: 0 / 0.9719 GB, free: 11.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=692): time 0.3742/2.442, allocations: 39.99 MB / 1.011 GB, free: 68.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/2.442, allocations: 109 kB / 1.011 GB, free: 68.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/2.446, allocations: 2.465 MB / 1.013 GB, free: 68.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001333/2.447, allocations: 113.9 kB / 1.014 GB, free: 68.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/2.449, allocations: 3.417 MB / 1.017 GB, free: 66.63 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003239/2.452, allocations: 2.28 MB / 1.019 GB, free: 65.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/2.453, allocations: 118.1 kB / 1.019 GB, free: 65.15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005087/2.453, allocations: 0.5839 MB / 1.02 GB, free: 64.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007886/2.461, allocations: 4.731 MB / 1.024 GB, free: 64.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008643/2.47, allocations: 6.061 MB / 1.03 GB, free: 63.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008647/2.479, allocations: 5.712 MB / 1.036 GB, free: 63.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.185e-05/2.479, allocations: 16.47 kB / 1.036 GB, free: 63.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=885) (initialization): time 0.02616/2.505, allocations: 13.65 MB / 1.049 GB, free: 62.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/2.505, allocations: 22.12 kB / 1.049 GB, free: 62.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.833e-05/2.505, allocations: 33.78 kB / 1.049 GB, free: 62.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007442/2.513, allocations: 3.88 MB / 1.053 GB, free: 62.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004945/2.518, allocations: 1.138 MB / 1.054 GB, free: 62.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/2.529, allocations: 10.69 MB / 1.065 GB, free: 56.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005259/2.534, allocations: 349 kB / 1.065 GB, free: 56.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/2.536, allocations: 275 kB / 1.065 GB, free: 56.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (603): * Single equations (assignments): 535 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.009876/2.546, allocations: 3.698 MB / 1.069 GB, free: 54.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002191/2.548, allocations: 434 kB / 1.069 GB, free: 54.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.026/2.574, allocations: 13.25 MB / 1.082 GB, free: 48.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02038/2.595, allocations: 11.89 MB / 1.094 GB, free: 43.53 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.957e-05/2.595, allocations: 0 / 1.094 GB, free: 43.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/2.595, allocations: 26.2 kB / 1.094 GB, free: 43.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05441/2.649, allocations: 26.42 MB / 1.12 GB, free: 27.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.544e-05/2.649, allocations: 0 / 1.12 GB, free: 27.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003976/2.653, allocations: 0.8143 MB / 1.12 GB, free: 26.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007034/2.66, allocations: 3.786 MB / 1.124 GB, free: 23.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001532/2.662, allocations: 146.1 kB / 1.124 GB, free: 23.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009283/2.671, allocations: 10.58 MB / 1.135 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/2.671, allocations: 3.688 kB / 1.135 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3529/3.024, allocations: 21.37 MB / 1.155 GB, free: 72.79 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005782/3.03, allocations: 1.545 MB / 1.157 GB, free: 72.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/3.031, allocations: 90.62 kB / 1.157 GB, free: 72.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/3.035, allocations: 289.2 kB / 1.157 GB, free: 72.69 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009199/3.035, allocations: 0.5017 MB / 1.158 GB, free: 72.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004481/3.036, allocations: 180.9 kB / 1.158 GB, free: 72.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002914/3.039, allocations: 1.864 MB / 1.16 GB, free: 72.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/3.039, allocations: 0 / 1.16 GB, free: 72.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005935/3.045, allocations: 1.687 MB / 1.161 GB, free: 72.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.0305/3.075, allocations: 21.02 MB / 1.182 GB, free: 71.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02213/3.097, allocations: 11.53 MB / 1.193 GB, free: 71.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/3.098, allocations: 2.906 kB / 1.193 GB, free: 71.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0116/3.109, allocations: 5.955 MB / 1.199 GB, free: 70.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006314/3.115, allocations: 0.8423 MB / 1.2 GB, free: 70.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1254/3.241, allocations: 81.84 MB / 1.28 GB, free: 22.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/3.253, allocations: 6.525 MB / 1.286 GB, free: 19.86 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004992/3.258, allocations: 1.512 MB / 1.288 GB, free: 19.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005164/3.263, allocations: 3.266 MB / 1.291 GB, free: 16.94 MB / 474.7 MB Notification: Performance of SimCode: time 1.293e-06/3.263, allocations: 1.781 kB / 1.291 GB, free: 16.94 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4978/3.761, allocations: 174 MB / 1.461 GB, free: 52.19 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/3.761, allocations: 273.5 kB / 1.461 GB, free: 51.83 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.104/8.865, allocations: 0 / 1.461 GB, free: 51.83 MB / 490.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat does not exist to compare? outputFormat=mat