Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_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.00109/0.00109, allocations: 198.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.413/1.413, allocations: 225.6 MB / 234.8 MB, free: 3.188 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009502/0.0009502, allocations: 90.06 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.544e-05, allocations: 4 kB / 343.8 MB, free: 8.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 51.48 MB / 395.3 MB, free: 4.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3974/0.5083, allocations: 131.8 MB / 0.5147 GB, free: 9.898 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.5087, allocations: 104 kB / 0.5148 GB, free: 9.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.385/1.894, allocations: 394.8 MB / 0.9004 GB, free: 15.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.886e-06/1.894, allocations: 0 / 0.9004 GB, free: 15.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001206/1.895, allocations: 238.8 kB / 0.9006 GB, free: 15.02 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04656/1.942, allocations: 10.21 MB / 0.9106 GB, free: 4.746 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/1.942, allocations: 12.03 kB / 0.9106 GB, free: 4.734 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4139/2.356, allocations: 5.626 MB / 0.9161 GB, free: 31.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02206/2.378, allocations: 8.907 MB / 0.9248 GB, free: 31.19 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007122/2.379, allocations: 339.2 kB / 0.9251 GB, free: 31.19 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005102/2.384, allocations: 0.5988 MB / 0.9257 GB, free: 31.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03242/2.416, allocations: 14.29 MB / 0.9397 GB, free: 31.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05205/2.468, allocations: 16.15 MB / 0.9554 GB, free: 29.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007187/2.469, allocations: 16.91 kB / 0.9554 GB, free: 29.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005668/2.475, allocations: 10.08 kB / 0.9555 GB, free: 29.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001536/2.476, allocations: 0.8664 MB / 0.9563 GB, free: 29.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1219/2.598, allocations: 58.92 MB / 1.014 GB, free: 8.672 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04204/2.64, allocations: 37.99 MB / 1.051 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008273/2.649, allocations: 4.414 MB / 1.055 GB, free: 5.523 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/2.649, allocations: 267.1 kB / 1.056 GB, free: 5.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.192e-05/2.65, allocations: 88.14 kB / 1.056 GB, free: 5.238 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 9.027e-06/2.65, allocations: 1.844 kB / 1.056 GB, free: 5.238 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.05603/2.706, allocations: 20.16 MB / 1.075 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/2.706, allocations: 103.2 kB / 1.075 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007145/2.713, allocations: 3.164 MB / 1.078 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001267/2.714, allocations: 29.64 kB / 1.078 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003985/2.718, allocations: 4.509 MB / 1.083 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00334/2.722, allocations: 1.721 MB / 1.085 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000771/2.722, allocations: 0 / 1.085 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007861/2.723, allocations: 0.5983 MB / 1.085 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009211/2.732, allocations: 3.449 MB / 1.089 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01381/2.746, allocations: 5.84 MB / 1.094 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02637/2.773, allocations: 6.462 MB / 1.101 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002363/2.773, allocations: 24 kB / 1.101 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.5105/3.283, allocations: 12.52 MB / 1.113 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.16e-05/3.284, allocations: 43.78 kB / 1.113 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001719/3.284, allocations: 78.22 kB / 1.113 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003665/3.287, allocations: 1.445 MB / 1.114 GB, free: 84.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006995/3.294, allocations: 1.657 MB / 1.116 GB, free: 84.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/3.309, allocations: 10.64 MB / 1.126 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007012/3.317, allocations: 338.2 kB / 1.127 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002244/3.319, allocations: 335.6 kB / 1.127 GB, free: 83.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 356 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (838): * Single equations (assignments): 833 * 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%) 62} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002884/3.322, allocations: 322.5 kB / 1.127 GB, free: 83.01 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0217/3.343, allocations: 8.908 MB / 1.136 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002049/3.346, allocations: 453.8 kB / 1.136 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02708/3.373, allocations: 9.926 MB / 1.146 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02528/3.398, allocations: 8.581 MB / 1.154 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.29e-05/3.398, allocations: 16.95 kB / 1.154 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002092/3.398, allocations: 25.88 kB / 1.155 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05856/3.457, allocations: 20.33 MB / 1.174 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/3.457, allocations: 0 / 1.174 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004745/3.462, allocations: 0.9885 MB / 1.175 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003541/3.465, allocations: 1.189 MB / 1.176 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/3.467, allocations: 38.16 kB / 1.177 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/3.479, allocations: 8.834 MB / 1.185 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/3.479, allocations: 6.938 kB / 1.185 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02944/3.509, allocations: 14.15 MB / 1.199 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00402/3.513, allocations: 1.196 MB / 1.2 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001766/3.515, allocations: 7.188 kB / 1.2 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004133/3.519, allocations: 255.6 kB / 1.2 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/3.52, allocations: 348.7 kB / 1.201 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004768/3.521, allocations: 145.8 kB / 1.201 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005016/3.526, allocations: 2.31 MB / 1.203 GB, free: 76.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/3.526, allocations: 0 / 1.203 GB, free: 76.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01085/3.536, allocations: 1.741 MB / 1.205 GB, free: 76.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (502): * Single equations (assignments): 497 * 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,38.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03241/3.569, allocations: 15.47 MB / 1.22 GB, free: 70.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02138/3.59, allocations: 8.679 MB / 1.228 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/3.59, allocations: 3.375 kB / 1.228 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0119/3.602, allocations: 4.253 MB / 1.233 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007308/3.61, allocations: 0.7814 MB / 1.233 GB, free: 64.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06962/3.679, allocations: 19.81 MB / 1.253 GB, free: 48.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01986/3.699, allocations: 7.192 MB / 1.26 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01122/3.711, allocations: 2.331 MB / 1.262 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0106/3.721, allocations: 3.884 MB / 1.266 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of SimCode: time 3.025e-06/3.721, allocations: 0 / 1.266 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6486/4.37, allocations: 140.8 MB / 1.403 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/4.37, allocations: 219.2 kB / 1.404 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/11, allocations: 6.609 kB / 1.404 GB, free: 65.74 MB / 0.5105 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat does not exist to compare? outputFormat=mat