Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2888, allocations: 50.55 MB / 409.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01496/0.3038, allocations: 14.11 MB / 423.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009971/0.3138, allocations: 5.229 MB / 428.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.3163, allocations: 55.81 kB / 428.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.3192, allocations: 0.9125 MB / 429.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.3213, allocations: 0.5815 MB / 430.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009435/0.3223, allocations: 0.5033 MB / 430.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.3244, allocations: 2.135 MB / 432.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.3257, allocations: 1.111 MB / 433.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008633/0.3266, allocations: 0.786 MB / 434.7 MB, free: 8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008033/0.3274, allocations: 0.871 MB / 435.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.3276, allocations: 224 kB / 435.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.328, allocations: 264 kB / 436 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003344/0.3283, allocations: 438.5 kB / 436.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.3292, allocations: 0.9642 MB / 437.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.3318, allocations: 2.694 MB / 440.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3318, allocations: 3.938 kB / 440.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.538e-06/0.3318, allocations: 4 kB / 440.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.167e-05/0.3319, allocations: 4 kB / 440.1 MB, free: 2.535 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.003356/0.3352, allocations: 2 MB / 442.1 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3353, allocations: 8.031 kB / 442.1 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006858/0.336, allocations: 242.5 kB / 442.4 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.3376, allocations: 1.032 MB / 443.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/0.3377, allocations: 119.3 kB / 443.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.3379, allocations: 152.3 kB / 443.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.3401, allocations: 1.415 MB / 445.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.3402, allocations: 3.984 kB / 445.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.3403, allocations: 64 kB / 445.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.3404, allocations: 36 kB / 445.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.3422, allocations: 0.9438 MB / 446.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/0.3497, allocations: 5.977 MB / 452.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.3508, allocations: 0.6544 MB / 452.8 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.3512, allocations: 238 kB / 453 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.3513, allocations: 12.5 kB / 453 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3513, allocations: 43 kB / 453.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.324e-06/0.3513, allocations: 0 / 453.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=54): time 0.002985/0.3543, allocations: 1.695 MB / 454.7 MB, free: 3.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.3544, allocations: 85.55 kB / 454.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.3558, allocations: 1.115 MB / 455.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.3559, allocations: 37.7 kB / 456 MB, free: 2.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/0.3564, allocations: 0.7935 MB / 456.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.3566, allocations: 209.1 kB / 457 MB, free: 1.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.3568, allocations: 174.4 kB / 457.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3569, allocations: 341.9 kB / 457.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.3574, allocations: 248.7 kB / 457.7 MB, free: 288 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006722/0.3581, allocations: 0.6251 MB / 458.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3592, allocations: 0.9068 MB / 459.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.3592, allocations: 4 kB / 459.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001598/0.3608, allocations: 0.9945 MB / 460.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.3609, allocations: 15.98 kB / 460.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3609, allocations: 12 kB / 460.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.3611, allocations: 41.36 kB / 460.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.3618, allocations: 223.6 kB / 460.5 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009958/0.3628, allocations: 1.398 MB / 461.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.3634, allocations: 47.97 kB / 462 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.3635, allocations: 48 kB / 462 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007222/0.3642, allocations: 462 kB / 462.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005971/0.3649, allocations: 0.594 MB / 463.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009904/0.3659, allocations: 0.8717 MB / 464 MB, free: 9.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/0.3659, allocations: 4 kB / 464 MB, free: 9.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.0014/0.3673, allocations: 0.9356 MB / 464.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3673, allocations: 12.88 kB / 464.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.3673, allocations: 15.94 kB / 464.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.569e-05/0.3674, allocations: 44.84 kB / 465 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.3681, allocations: 211.7 kB / 465.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.3692, allocations: 1.399 MB / 466.6 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.3699, allocations: 39.98 kB / 466.6 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.37, allocations: 47.94 kB / 466.7 MB, free: 6.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 2 (currentController.integrator.local_reset,armatureInverter.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.3702, allocations: 259.9 kB / 466.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.3704, allocations: 114.6 kB / 467 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.3714, allocations: 0.5514 MB / 467.6 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3714, allocations: 8 kB / 467.6 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3714, allocations: 3.938 kB / 467.6 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.3715, allocations: 3.984 kB / 467.6 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.3741, allocations: 1.843 MB / 469.4 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3742, allocations: 0 / 469.4 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.3746, allocations: 103.9 kB / 469.5 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-05/0.3747, allocations: 24.84 kB / 469.6 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.3748, allocations: 12 kB / 469.6 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009188/0.3757, allocations: 1.371 MB / 470.9 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.3757, allocations: 7.969 kB / 470.9 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3771, allocations: 0.9041 MB / 471.9 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.3774, allocations: 243.6 kB / 472.1 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3775, allocations: 15.98 kB / 472.1 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.378, allocations: 35.97 kB / 472.1 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3781, allocations: 44.5 kB / 472.2 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.3782, allocations: 20 kB / 472.2 MB, free: 464 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00102/0.3792, allocations: 0.7513 MB / 473 MB, free: 15.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3792, allocations: 0 / 473 MB, free: 15.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001451/0.3807, allocations: 460 kB / 473.4 MB, free: 15.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (loadInertia.w,dcpm.la.i,armatureInverter.vDCFilter.y,armatureInverter.iMotFilter.y,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.powerController.y,armatureInverter.vMotFilter.y,armatureInverter.iDCFilter.y,currentController.integrator.y,loadTorque.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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002447/0.381, allocations: 139.1 kB / 473.5 MB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002253/0.3832, allocations: 1.253 MB / 474.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3832, allocations: 0 / 474.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000548/0.3838, allocations: 345 kB / 475.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.3851, allocations: 283.8 kB / 475.4 MB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.3895, allocations: 2.468 MB / 477.9 MB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008703/0.3904, allocations: 1.165 MB / 479 MB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005851/0.391, allocations: 149.1 kB / 479.2 MB, free: 9.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.3912, allocations: 75.44 kB / 479.3 MB, free: 9.262 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3912, allocations: 0 / 479.3 MB, free: 9.262 MB / 398.1 MB Notification: Performance of Templates: time 0.02561/0.4168, allocations: 13.18 MB / 492.4 MB, free: 12.2 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/ControlledDCDrives/CurrentControlledDCPM/CurrentControlledDCPM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,armatureInverter.iDCFilter.y,armatureInverter.iMotFilter.y,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.powerController.y,armatureInverter.vDCFilter.y,armatureInverter.vMotFilter.y,currentController.integrator.y,dcpm.la.i,loadInertia.phi,loadInertia.w Variables in the result:armatureInverter.GoffD,armatureInverter.GoffT,armatureInverter.RonD,armatureInverter.RonT,armatureInverter.Td,armatureInverter.Ti,armatureInverter.Tmf,armatureInverter.VMax,armatureInverter.VkneeD,armatureInverter.VkneeT,armatureInverter.fS,armatureInverter.gain.k,armatureInverter.iDCFilter.T,armatureInverter.iDCFilter.initType,armatureInverter.iDCFilter.k,armatureInverter.iDCFilter.y,armatureInverter.iDCFilter.y_start,armatureInverter.iMotFilter.T,armatureInverter.iMotFilter.initType,armatureInverter.iMotFilter.k,armatureInverter.iMotFilter.y,armatureInverter.iMotFilter.y_start,armatureInverter.idealDcDc.Td,armatureInverter.idealDcDc.Ti,armatureInverter.idealDcDc.deadTime.T,armatureInverter.idealDcDc.deadTime.initType,armatureInverter.idealDcDc.deadTime.k,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.deadTime.y_start,armatureInverter.idealDcDc.powerController.initType,armatureInverter.idealDcDc.powerController.k,armatureInverter.idealDcDc.powerController.y,armatureInverter.idealDcDc.powerController.y_start,armatureInverter.useIdealInverter,armatureInverter.vDCFilter.T,armatureInverter.vDCFilter.initType,armatureInverter.vDCFilter.k,armatureInverter.vDCFilter.y,armatureInverter.vDCFilter.y_start,armatureInverter.vMotFilter.T,armatureInverter.vMotFilter.initType,armatureInverter.vMotFilter.k,armatureInverter.vMotFilter.y,armatureInverter.vMotFilter.y_start,armatureInverter.variableLimiter.homotopyType,armatureInverter.variableLimiter.strict,armatureInverter.variableLimiter.ySimplified,constantVoltage.V,constantVoltage.p.v,constantVoltage.v,currentController.KFF,currentController.Ti,currentController.add3.k1,currentController.add3.k2,currentController.add3.k3,currentController.addAntiWindup.k1,currentController.addAntiWindup.k2,currentController.constantKFF.k,currentController.constantKFF.y,currentController.constantLimits,currentController.gain.k,currentController.initType,currentController.integrator.initType,currentController.integrator.k,currentController.integrator.y,currentController.integrator.y_start,currentController.k,currentController.product.u2,currentController.symmetricLimits,currentController.useConstantKFF,currentController.useFF,currentController.useI,currentController.variableLimiter.homotopyType,currentController.variableLimiter.strict,currentController.variableLimiter.ySimplified,currentController.x_start,currentController.yMax,currentController.yMin,currentController.y_start,dcpm.IaNominal,dcpm.Jr,dcpm.Js,dcpm.La,dcpm.Ra,dcpm.TaNominal,dcpm.TaOperational,dcpm.TaRef,dcpm.TpmOperational,dcpm.VaNominal,dcpm.ViNominal,dcpm.airGapDC.Le,dcpm.airGapDC.ie,dcpm.airGapDC.pin_en.i,dcpm.airGapDC.pin_ep.i,dcpm.airGapDC.psi_e,dcpm.airGapDC.quasiStatic,dcpm.airGapDC.support.phi,dcpm.airGapDC.turnsRatio,dcpm.alpha20a,dcpm.brush.brushParameters.ILinear,dcpm.brush.brushParameters.V,dcpm.brushParameters.ILinear,dcpm.brushParameters.V,dcpm.core.coreParameters.GcRef,dcpm.core.coreParameters.PRef,dcpm.core.coreParameters.VRef,dcpm.core.coreParameters.m,dcpm.core.coreParameters.ratioHysteresis,dcpm.core.coreParameters.wMin,dcpm.core.coreParameters.wRef,dcpm.coreParameters.GcRef,dcpm.coreParameters.PRef,dcpm.coreParameters.VRef,dcpm.coreParameters.m,dcpm.coreParameters.ratioHysteresis,dcpm.coreParameters.wMin,dcpm.coreParameters.wRef,dcpm.fixed.flange.phi,dcpm.fixed.phi0,dcpm.friction.frictionParameters.PRef,dcpm.friction.frictionParameters.linear,dcpm.friction.frictionParameters.power_w,dcpm.friction.frictionParameters.tauLinear,dcpm.friction.frictionParameters.tauRef,dcpm.friction.frictionParameters.wLinear,dcpm.friction.frictionParameters.wRef,dcpm.friction.support.phi,dcpm.frictionParameters.PRef,dcpm.frictionParameters.linear,dcpm.frictionParameters.power_w,dcpm.frictionParameters.tauLinear,dcpm.frictionParameters.tauRef,dcpm.frictionParameters.wLinear,dcpm.frictionParameters.wRef,dcpm.ie.I,dcpm.ie.i,dcpm.ie.n.i,dcpm.ie.p.i,dcpm.inertiaRotor.J,dcpm.inertiaStator.J,dcpm.inertiaStator.flange_a.phi,dcpm.inertiaStator.flange_b.phi,dcpm.inertiaStator.phi,dcpm.internalSupport.phi,dcpm.internalThermalPort.heatPortArmature.T,dcpm.la.L,dcpm.la.i,dcpm.la.quasiStatic,dcpm.psi_eNominal,dcpm.ra.R,dcpm.ra.T,dcpm.ra.T_heatPort,dcpm.ra.T_ref,dcpm.ra.alpha,dcpm.ra.heatPort.T,dcpm.strayLoad.strayLoadParameters.IRef,dcpm.strayLoad.strayLoadParameters.PRef,dcpm.strayLoad.strayLoadParameters.power_w,dcpm.strayLoad.strayLoadParameters.tauRef,dcpm.strayLoad.strayLoadParameters.wRef,dcpm.strayLoad.support.phi,dcpm.strayLoadParameters.IRef,dcpm.strayLoadParameters.PRef,dcpm.strayLoadParameters.power_w,dcpm.strayLoadParameters.tauRef,dcpm.strayLoadParameters.wRef,dcpm.thermalAmbient.Ta,dcpm.thermalAmbient.Tpm,dcpm.thermalAmbient.constTa.k,dcpm.thermalAmbient.constTa.y,dcpm.thermalAmbient.constTpm.k,dcpm.thermalAmbient.temperatureArmature.T,dcpm.thermalAmbient.temperatureArmature.port.T,dcpm.thermalAmbient.temperatureBrush.T,dcpm.thermalAmbient.temperatureCore.T,dcpm.thermalAmbient.temperatureFriction.T,dcpm.thermalAmbient.temperatureStrayLoad.T,dcpm.thermalAmbient.thermalPort.heatPortArmature.T,dcpm.thermalAmbient.useTemperatureInputs,dcpm.turnsRatio,dcpm.useSupport,dcpm.useThermalPort,dcpm.wNominal,driveData.IaMax,driveData.JL,driveData.PNominal,driveData.Ra,driveData.Ta,driveData.Td,driveData.Tfw,driveData.TiI,driveData.Tiw,driveData.Tmf,driveData.Tsigma,driveData.Tsub,driveData.VBat,driveData.VaMax,driveData.aMax,driveData.fS,driveData.kPhi,driveData.kpI,driveData.kpP,driveData.kpw,driveData.motorData.IaNominal,driveData.motorData.Jr,driveData.motorData.Js,driveData.motorData.La,driveData.motorData.Ra,driveData.motorData.TaNominal,driveData.motorData.TaRef,driveData.motorData.VaNominal,driveData.motorData.ViNominal,driveData.motorData.alpha20a,driveData.motorData.brushParameters.ILinear,driveData.motorData.brushParameters.V,driveData.motorData.coreParameters.GcRef,driveData.motorData.coreParameters.PRef,driveData.motorData.coreParameters.VRef,driveData.motorData.coreParameters.m,driveData.motorData.coreParameters.ratioHysteresis,driveData.motorData.coreParameters.wMin,driveData.motorData.coreParameters.wRef,driveData.motorData.frictionParameters.PRef,driveData.motorData.frictionParameters.linear,driveData.motorData.frictionParameters.power_w,driveData.motorData.frictionParameters.tauLinear,driveData.motorData.frictionParameters.tauRef,driveData.motorData.frictionParameters.wLinear,driveData.motorData.frictionParameters.wRef,driveData.motorData.strayLoadParameters.IRef,driveData.motorData.strayLoadParameters.PRef,driveData.motorData.strayLoadParameters.power_w,driveData.motorData.strayLoadParameters.tauRef,driveData.motorData.strayLoadParameters.wRef,driveData.motorData.wNominal,driveData.tauMax,driveData.tauNominal,driveData.w0,driveData.wMax,loadInertia.J,loadInertia.phi,loadInertia.w,loadTorque.TorqueDirection,loadTorque.phi,loadTorque.tau_nominal,loadTorque.w_nominal,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.p.v,step.height,step.offset,step.startTime,tau2i.k,time