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.00167/0.00167, allocations: 195.1 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.001111, allocations: 95.7 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.324e-05/4.343e-05, allocations: 4 kB / 350.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 51.48 MB / 402.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.5819, allocations: 132.5 MB / 0.5221 GB, free: 5.773 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.5823, allocations: 102.7 kB / 0.5222 GB, free: 5.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.838/2.42, allocations: 399 MB / 0.9118 GB, free: 26.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.645e-06/2.42, allocations: 0 / 0.9118 GB, free: 26.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008343/2.421, allocations: 234.9 kB / 0.912 GB, free: 26.96 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.04226/2.463, allocations: 10.22 MB / 0.922 GB, free: 25.56 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/2.463, allocations: 9.312 kB / 0.922 GB, free: 25.56 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008761/2.472, allocations: 1.774 MB / 0.9238 GB, free: 25.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03417/2.506, allocations: 5.641 MB / 0.9293 GB, free: 24.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02809/2.534, allocations: 8.916 MB / 0.938 GB, free: 23.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001326/2.536, allocations: 0.7715 MB / 0.9387 GB, free: 23.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006866/2.542, allocations: 1.02 MB / 0.9397 GB, free: 23.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06424/2.607, allocations: 17.83 MB / 0.9571 GB, free: 22.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009623/2.608, allocations: 16.14 kB / 0.9572 GB, free: 22.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005914/2.614, allocations: 446.2 kB / 0.9576 GB, free: 22.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002142/2.616, allocations: 0.8669 MB / 0.9584 GB, free: 22.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04317/2.659, allocations: 16.05 MB / 0.9741 GB, free: 22.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1205/2.78, allocations: 59.66 MB / 1.032 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03656/2.816, allocations: 37.2 MB / 1.069 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007667/2.824, allocations: 4.116 MB / 1.073 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008168/2.825, allocations: 275 kB / 1.073 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.715e-05/2.825, allocations: 86.64 kB / 1.073 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=524): time 7.374e-06/2.825, allocations: 2.812 kB / 1.073 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=530): time 0.03967/2.865, allocations: 15.68 MB / 1.088 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/2.865, allocations: 103.5 kB / 1.088 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008126/2.873, allocations: 3.564 MB / 1.092 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/2.874, allocations: 113.7 kB / 1.092 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00434/2.879, allocations: 4.51 MB / 1.096 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003304/2.882, allocations: 1.799 MB / 1.098 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008942/2.883, allocations: 144 kB / 1.098 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006586/2.883, allocations: 0.5905 MB / 1.099 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0136/2.897, allocations: 3.951 MB / 1.103 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3912/3.288, allocations: 5.787 MB / 1.108 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009056/3.297, allocations: 4.723 MB / 1.113 GB, free: 86.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001806/3.298, allocations: 23.34 kB / 1.113 GB, free: 86.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.0241/3.322, allocations: 10.78 MB / 1.124 GB, free: 86.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/3.322, allocations: 39.34 kB / 1.124 GB, free: 86.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/3.322, allocations: 77.44 kB / 1.124 GB, free: 86.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003724/3.326, allocations: 1.396 MB / 1.125 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00684/3.333, allocations: 1.603 MB / 1.127 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/3.35, allocations: 10.54 MB / 1.137 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006547/3.357, allocations: 420 kB / 1.137 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002059/3.359, allocations: 334.1 kB / 1.138 GB, free: 85.27 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 (844): * Single equations (assignments): 839 * 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%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002841/3.362, allocations: 0.5457 MB / 1.138 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/3.363, allocations: 476.4 kB / 1.139 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/3.383, allocations: 8.371 MB / 1.147 GB, free: 84.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01484/3.398, allocations: 6.944 MB / 1.154 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/3.398, allocations: 11.78 kB / 1.154 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001191/3.398, allocations: 28.06 kB / 1.154 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04553/3.444, allocations: 19.67 MB / 1.173 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/3.444, allocations: 3.875 kB / 1.173 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004356/3.448, allocations: 0.9234 MB / 1.174 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003678/3.452, allocations: 1.214 MB / 1.175 GB, free: 82.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001194/3.453, allocations: 117.9 kB / 1.175 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/3.467, allocations: 9.126 MB / 1.184 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/3.467, allocations: 0.625 kB / 1.184 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02051/3.487, allocations: 12.23 MB / 1.196 GB, free: 76.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004029/3.491, allocations: 1.16 MB / 1.197 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001687/3.493, allocations: 94.19 kB / 1.197 GB, free: 75.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004942/3.498, allocations: 286.8 kB / 1.197 GB, free: 75.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001621/3.5, allocations: 347.7 kB / 1.198 GB, free: 75.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006183/3.5, allocations: 152.4 kB / 1.198 GB, free: 75.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005809/3.506, allocations: 2.651 MB / 1.2 GB, free: 74.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.91e-07/3.506, allocations: 0 / 1.2 GB, free: 74.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01143/3.518, allocations: 1.977 MB / 1.202 GB, free: 73.96 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,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02466/3.542, allocations: 13.75 MB / 1.216 GB, free: 67.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01725/3.56, allocations: 8.561 MB / 1.224 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/3.56, allocations: 0 / 1.224 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008094/3.568, allocations: 4.1 MB / 1.228 GB, free: 57.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006582/3.574, allocations: 0.9941 MB / 1.229 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05399/3.628, allocations: 20 MB / 1.249 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01771/3.646, allocations: 7.2 MB / 1.256 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01074/3.657, allocations: 2.33 MB / 1.258 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009096/3.666, allocations: 3.875 MB / 1.262 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.422e-06/3.666, allocations: 0 / 1.262 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6857/4.352, allocations: 150.5 MB / 1.409 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/4.352, allocations: 233.1 kB / 1.409 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/11.25, allocations: 3.953 kB / 1.409 GB, free: 46.07 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