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.001562/0.001562, allocations: 200.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009224/0.0009225, allocations: 96.8 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.732e-05, allocations: 0 / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 51.48 MB / 395.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.5888, allocations: 154.1 MB / 0.5365 GB, free: 3.809 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.5891, allocations: 102.2 kB / 0.5366 GB, free: 3.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.917/2.506, allocations: 473.6 MB / 0.999 GB, free: 34.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.288e-06/2.506, allocations: 0 / 0.999 GB, free: 34.85 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001316/2.507, allocations: 328.4 kB / 0.9993 GB, free: 34.81 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.05524/2.562, allocations: 13.23 MB / 1.012 GB, free: 30.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/2.563, allocations: 10.61 kB / 1.012 GB, free: 30.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03499/2.598, allocations: 5.849 MB / 1.018 GB, free: 29.95 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03545/2.633, allocations: 11.7 MB / 1.029 GB, free: 28.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001095/2.634, allocations: 451.9 kB / 1.03 GB, free: 28.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00745/2.642, allocations: 0.8064 MB / 1.031 GB, free: 28.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04621/2.688, allocations: 17.54 MB / 1.048 GB, free: 23.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07551/2.763, allocations: 19.98 MB / 1.067 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001086/2.765, allocations: 19.7 kB / 1.067 GB, free: 10.63 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007602/2.772, allocations: 8 kB / 1.067 GB, free: 10.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001612/2.774, allocations: 0.9744 MB / 1.068 GB, free: 9.762 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5467/3.321, allocations: 72.18 MB / 1.139 GB, free: 38.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03679/3.357, allocations: 42.17 MB / 1.18 GB, free: 19.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01049/3.368, allocations: 5.098 MB / 1.185 GB, free: 19.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02931/3.397, allocations: 13.39 MB / 1.198 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.33e-05/3.398, allocations: 89.22 kB / 1.198 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=502): time 7.754e-06/3.398, allocations: 0 / 1.198 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=510): time 0.06085/3.458, allocations: 23.58 MB / 1.221 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/3.459, allocations: 129.5 kB / 1.221 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008661/3.467, allocations: 4.37 MB / 1.225 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001339/3.469, allocations: 27.67 kB / 1.225 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003902/3.472, allocations: 6.142 MB / 1.231 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002741/3.475, allocations: 1.676 MB / 1.233 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007131/3.476, allocations: 3.844 kB / 1.233 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005561/3.477, allocations: 0.6048 MB / 1.234 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004973/3.482, allocations: 3.58 MB / 1.237 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007496/3.489, allocations: 6.318 MB / 1.243 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/3.504, allocations: 6.609 MB / 1.25 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/3.505, allocations: 27.22 kB / 1.25 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.03514/3.54, allocations: 12.99 MB / 1.263 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002054/3.54, allocations: 48.28 kB / 1.263 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002617/3.54, allocations: 95.56 kB / 1.263 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004934/3.545, allocations: 1.474 MB / 1.264 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007525/3.553, allocations: 1.7 MB / 1.266 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/3.576, allocations: 17.22 MB / 1.283 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007476/3.584, allocations: 335.5 kB / 1.283 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002055/3.586, allocations: 362.7 kB / 1.283 GB, free: 9.816 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 (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 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%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(12,53.5%) 64} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003178/3.589, allocations: 363 kB / 1.284 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02433/3.613, allocations: 9.683 MB / 1.293 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00247/3.616, allocations: 0.5661 MB / 1.294 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.402/4.018, allocations: 10.57 MB / 1.304 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01527/4.033, allocations: 7.178 MB / 1.311 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-05/4.033, allocations: 18.38 kB / 1.311 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001133/4.033, allocations: 27.53 kB / 1.311 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04705/4.08, allocations: 20.67 MB / 1.331 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/4.08, allocations: 14.19 kB / 1.331 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004674/4.085, allocations: 0.8974 MB / 1.332 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00496/4.09, allocations: 1.517 MB / 1.334 GB, free: 89.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001093/4.091, allocations: 54.28 kB / 1.334 GB, free: 89.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02508/4.116, allocations: 20.34 MB / 1.353 GB, free: 81.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/4.116, allocations: 11.16 kB / 1.353 GB, free: 81.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0303/4.147, allocations: 16.01 MB / 1.369 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004113/4.151, allocations: 1.371 MB / 1.37 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001666/4.153, allocations: 19.03 kB / 1.37 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004095/4.157, allocations: 266 kB / 1.371 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/4.158, allocations: 415.8 kB / 1.371 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004252/4.158, allocations: 151 kB / 1.371 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007012/4.165, allocations: 3.207 MB / 1.374 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/4.166, allocations: 0 / 1.374 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0144/4.18, allocations: 2.128 MB / 1.376 GB, free: 78.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,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) * 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 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,(12,50.7%) 64,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03147/4.211, allocations: 18.23 MB / 1.394 GB, free: 71.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01754/4.229, allocations: 9.576 MB / 1.404 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/4.229, allocations: 6.906 kB / 1.404 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009891/4.239, allocations: 5.36 MB / 1.409 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009162/4.248, allocations: 1.189 MB / 1.41 GB, free: 64.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06245/4.311, allocations: 25.13 MB / 1.435 GB, free: 49.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01419/4.325, allocations: 9.097 MB / 1.443 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008612/4.334, allocations: 2.493 MB / 1.446 GB, free: 41.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009117/4.343, allocations: 5.132 MB / 1.451 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/4.343, allocations: 4 kB / 1.451 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6689/5.012, allocations: 173.6 MB / 1.62 GB, free: 42.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/5.012, allocations: 196.8 kB / 1.621 GB, free: 42.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/12.71, allocations: 4 kB / 1.621 GB, free: 42.01 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