Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001882/0.001882, allocations: 196.5 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.491/1.491, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 85.33 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.575e-05/4.588e-05, allocations: 4 kB / 350.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 51.48 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.626, allocations: 154.7 MB / 0.5438 GB, free: 15.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.6263, allocations: 103.8 kB / 0.5439 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.991/2.617, allocations: 478.5 MB / 1.011 GB, free: 35.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.695e-06/2.617, allocations: 0 / 1.011 GB, free: 35.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001535/2.619, allocations: 328.7 kB / 1.012 GB, free: 35.14 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.05136/2.67, allocations: 13.24 MB / 1.024 GB, free: 31.06 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/2.67, allocations: 11.59 kB / 1.024 GB, free: 31.06 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01284/2.683, allocations: 2.269 MB / 1.027 GB, free: 30.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03548/2.719, allocations: 5.865 MB / 1.032 GB, free: 30.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03297/2.752, allocations: 11.7 MB / 1.044 GB, free: 25.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001162/2.753, allocations: 1.028 MB / 1.045 GB, free: 25.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007243/2.76, allocations: 1.36 MB / 1.046 GB, free: 25.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06852/2.829, allocations: 22.17 MB / 1.068 GB, free: 9.652 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009233/2.83, allocations: 19.38 kB / 1.068 GB, free: 9.637 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007391/2.837, allocations: 0.5832 MB / 1.068 GB, free: 9.066 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001564/2.839, allocations: 0.9775 MB / 1.069 GB, free: 8.207 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06178/2.9, allocations: 19.83 MB / 1.089 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.587/3.487, allocations: 73.42 MB / 1.16 GB, free: 31.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04033/3.528, allocations: 42.43 MB / 1.202 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008678/3.537, allocations: 5.085 MB / 1.207 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0295/3.566, allocations: 13.06 MB / 1.22 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.509e-05/3.566, allocations: 85.81 kB / 1.22 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=502): time 6.873e-06/3.566, allocations: 0 / 1.22 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=510): time 0.0362/3.603, allocations: 18.84 MB / 1.238 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/3.603, allocations: 132.8 kB / 1.238 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009129/3.612, allocations: 5.017 MB / 1.243 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00106/3.613, allocations: 110.6 kB / 1.243 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004119/3.617, allocations: 6.142 MB / 1.249 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002783/3.62, allocations: 1.74 MB / 1.251 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000603/3.62, allocations: 152.6 kB / 1.251 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005197/3.621, allocations: 0.6011 MB / 1.252 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005458/3.626, allocations: 3.515 MB / 1.255 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008161/3.635, allocations: 6.303 MB / 1.261 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007889/3.642, allocations: 4.92 MB / 1.266 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.608e-05/3.643, allocations: 26.12 kB / 1.266 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.02344/3.666, allocations: 11.8 MB / 1.278 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.824e-05/3.666, allocations: 45.34 kB / 1.278 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/3.666, allocations: 93.27 kB / 1.278 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004148/3.67, allocations: 1.509 MB / 1.279 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006677/3.677, allocations: 1.641 MB / 1.281 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4526/4.13, allocations: 17.93 MB / 1.298 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007293/4.137, allocations: 430 kB / 1.299 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002332/4.139, allocations: 365 kB / 1.299 GB, free: 90.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(12,52.8%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002917/4.142, allocations: 0.5755 MB / 1.3 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002115/4.145, allocations: 0.5963 MB / 1.3 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01852/4.163, allocations: 9.173 MB / 1.309 GB, free: 90.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009885/4.173, allocations: 5.762 MB / 1.315 GB, free: 90.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.55e-05/4.173, allocations: 22.52 kB / 1.315 GB, free: 90 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.061e-05/4.173, allocations: 27.11 kB / 1.315 GB, free: 90 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05129/4.225, allocations: 20.86 MB / 1.335 GB, free: 88.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.967e-05/4.225, allocations: 7.562 kB / 1.335 GB, free: 88.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00458/4.229, allocations: 0.8554 MB / 1.336 GB, free: 88.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005104/4.234, allocations: 1.538 MB / 1.338 GB, free: 88.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/4.235, allocations: 121.2 kB / 1.338 GB, free: 88.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02515/4.26, allocations: 21.01 MB / 1.358 GB, free: 79.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/4.261, allocations: 9.719 kB / 1.358 GB, free: 79.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02594/4.286, allocations: 14.29 MB / 1.372 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005896/4.292, allocations: 1.356 MB / 1.373 GB, free: 72.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00266/4.295, allocations: 109.1 kB / 1.374 GB, free: 72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005534/4.301, allocations: 299.5 kB / 1.374 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001429/4.302, allocations: 418.5 kB / 1.374 GB, free: 71.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000517/4.303, allocations: 148.1 kB / 1.374 GB, free: 71.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008788/4.311, allocations: 3.767 MB / 1.378 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/4.312, allocations: 0 / 1.378 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01645/4.328, allocations: 2.391 MB / 1.38 GB, free: 70.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 428 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(12,52.1%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03004/4.358, allocations: 16.69 MB / 1.397 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01986/4.378, allocations: 9.607 MB / 1.406 GB, free: 57.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/4.378, allocations: 4.562 kB / 1.406 GB, free: 57.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/4.39, allocations: 5.337 MB / 1.411 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01103/4.401, allocations: 1.499 MB / 1.413 GB, free: 54.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07643/4.478, allocations: 25.39 MB / 1.438 GB, free: 34.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01593/4.494, allocations: 9.097 MB / 1.446 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0113/4.505, allocations: 2.52 MB / 1.449 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01048/4.516, allocations: 5.143 MB / 1.454 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.603e-06/4.516, allocations: 0 / 1.454 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7387/5.254, allocations: 188.6 MB / 1.638 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/5.255, allocations: 228 kB / 1.638 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/13.49, allocations: 0 / 1.638 GB, free: 12.26 MB / 0.5261 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat