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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_ControlledDCDrives_CurrentControlledDCPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_ControlledDCDrives_CurrentControlledDCPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2703, allocations: 50.54 MB / 408.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01428/0.2846, allocations: 14.11 MB / 422.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00811/0.2927, allocations: 5.232 MB / 428.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.2947, allocations: 59.75 kB / 428.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.2969, allocations: 0.8696 MB / 429 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.2983, allocations: 0.5425 MB / 429.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.2991, allocations: 0.5033 MB / 430.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.301, allocations: 2.128 MB / 432.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.3023, allocations: 1.1 MB / 433.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008475/0.3032, allocations: 0.786 MB / 434.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000788/0.304, allocations: 0.871 MB / 435 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.3042, allocations: 227.9 kB / 435.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.3046, allocations: 264 kB / 435.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.3049, allocations: 442.5 kB / 435.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007177/0.3056, allocations: 0.9681 MB / 436.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.3079, allocations: 2.694 MB / 439.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3079, allocations: 0 / 439.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3079, allocations: 0 / 439.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.3079, allocations: 4 kB / 439.6 MB, free: 2.734 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.003059/0.311, allocations: 2.008 MB / 441.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.311, allocations: 8.031 kB / 441.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.3112, allocations: 219.6 kB / 441.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006339/0.3119, allocations: 238.6 kB / 442 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.3134, allocations: 1.032 MB / 443 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.3135, allocations: 111.3 kB / 443.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.3137, allocations: 156 kB / 443.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.3158, allocations: 1.419 MB / 444.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/0.3158, allocations: 7.984 kB / 444.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.316, allocations: 68 kB / 444.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.316, allocations: 36 kB / 444.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.3177, allocations: 0.936 MB / 445.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006847/0.3245, allocations: 5.973 MB / 451.7 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3256, allocations: 0.6583 MB / 452.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.326, allocations: 234 kB / 452.6 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.326, allocations: 12.5 kB / 452.6 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3261, allocations: 43 kB / 452.7 MB, free: 5.066 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.054e-06/0.3261, allocations: 3.938 kB / 452.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=54): time 0.002894/0.329, allocations: 1.695 MB / 454.4 MB, free: 3.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.329, allocations: 85.55 kB / 454.5 MB, free: 3.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.3303, allocations: 1.111 MB / 455.6 MB, free: 2.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.3304, allocations: 37.7 kB / 455.6 MB, free: 2.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/0.3309, allocations: 0.7935 MB / 456.4 MB, free: 1.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.331, allocations: 209.1 kB / 456.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.3312, allocations: 178.4 kB / 456.8 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3313, allocations: 341.9 kB / 457.1 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.3318, allocations: 244.7 kB / 457.4 MB, free: 260 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.3325, allocations: 0.6212 MB / 458 MB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3336, allocations: 0.9068 MB / 458.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3336, allocations: 4 kB / 458.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001517/0.3352, allocations: 0.9946 MB / 459.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3352, allocations: 14.19 kB / 459.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.3352, allocations: 12 kB / 459.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001397/0.3354, allocations: 44.78 kB / 460 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/0.3361, allocations: 227.6 kB / 460.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009619/0.337, allocations: 1.398 MB / 461.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/0.3377, allocations: 44.14 kB / 461.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.3377, allocations: 51.98 kB / 461.7 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006789/0.3384, allocations: 462.1 kB / 462.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005765/0.339, allocations: 0.5978 MB / 462.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009754/0.34, allocations: 0.8639 MB / 463.6 MB, free: 9.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.099e-06/0.34, allocations: 4 kB / 463.6 MB, free: 9.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001391/0.3414, allocations: 0.9477 MB / 464.5 MB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3414, allocations: 15.94 kB / 464.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3414, allocations: 12 kB / 464.6 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.743e-05/0.3415, allocations: 36.84 kB / 464.6 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.3422, allocations: 216.1 kB / 464.8 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008891/0.3431, allocations: 1.398 MB / 466.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.3436, allocations: 39.98 kB / 466.2 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.3437, allocations: 44 kB / 466.3 MB, free: 6.277 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.0001927/0.3439, allocations: 255.8 kB / 466.5 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.344, allocations: 122.5 kB / 466.7 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.3451, allocations: 0.5554 MB / 467.2 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3451, allocations: 7.938 kB / 467.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3451, allocations: 4 kB / 467.2 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3451, allocations: 3.984 kB / 467.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.3476, allocations: 1.835 MB / 469.1 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3477, allocations: 224 / 469.1 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.3482, allocations: 107.9 kB / 469.2 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.087e-05/0.3482, allocations: 20.84 kB / 469.2 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.3483, allocations: 12 kB / 469.2 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009065/0.3492, allocations: 1.371 MB / 470.6 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3492, allocations: 11.97 kB / 470.6 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.3507, allocations: 0.9042 MB / 471.5 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.351, allocations: 243.6 kB / 471.7 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.3511, allocations: 15.98 kB / 471.7 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/0.3516, allocations: 27.98 kB / 471.8 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.3517, allocations: 44.33 kB / 471.8 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.3517, allocations: 19.98 kB / 471.8 MB, free: 440 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009766/0.3527, allocations: 0.7437 MB / 472.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3527, allocations: 0 / 472.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001383/0.3541, allocations: 467.9 kB / 473 MB, free: 15.22 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.001688/0.3558, allocations: 1.488 MB / 474.5 MB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002061/0.3579, allocations: 1.256 MB / 475.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3579, allocations: 0 / 475.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.3584, allocations: 351.1 kB / 476.1 MB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.3597, allocations: 281.9 kB / 476.4 MB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.3732, allocations: 9.778 MB / 486.2 MB, free: 1.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.374, allocations: 1.169 MB / 487.3 MB, free: 240 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005722/0.3746, allocations: 149.1 kB / 487.5 MB, free: 88 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/0.3752, allocations: 0.5462 MB / 488 MB, free: 15.54 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3752, allocations: 0 / 488 MB, free: 15.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05332/0.4285, allocations: 25.17 MB / 0.5012 GB, free: 6.648 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.85, allocations: 0 / 0.5012 GB, free: 6.648 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_ControlledDCDrives_CurrentControlledDCPM_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_ControlledDCDrives_CurrentControlledDCPM.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/ControlledDCDrives/CurrentControlledDCPM/CurrentControlledDCPM.csv","/var/lib/jenkins1/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.gain.u,armatureInverter.gain.y,armatureInverter.iDC,armatureInverter.iDCFilter.T,armatureInverter.iDCFilter.initType,armatureInverter.iDCFilter.k,armatureInverter.iDCFilter.u,armatureInverter.iDCFilter.y,armatureInverter.iDCFilter.y_start,armatureInverter.iDCSensor.i,armatureInverter.iDCSensor.n.i,armatureInverter.iDCSensor.n.v,armatureInverter.iDCSensor.p.i,armatureInverter.iDCSensor.p.v,armatureInverter.iMot,armatureInverter.iMotFilter.T,armatureInverter.iMotFilter.initType,armatureInverter.iMotFilter.k,armatureInverter.iMotFilter.u,armatureInverter.iMotFilter.y,armatureInverter.iMotFilter.y_start,armatureInverter.iMotSensor.i,armatureInverter.iMotSensor.n.i,armatureInverter.iMotSensor.n.v,armatureInverter.iMotSensor.p.i,armatureInverter.iMotSensor.p.v,armatureInverter.idealDcDc.Td,armatureInverter.idealDcDc.Ti,armatureInverter.idealDcDc.deadTime.T,armatureInverter.idealDcDc.deadTime.initType,armatureInverter.idealDcDc.deadTime.k,armatureInverter.idealDcDc.deadTime.u,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.deadTime.y_start,armatureInverter.idealDcDc.feedback.u1,armatureInverter.idealDcDc.feedback.u2,armatureInverter.idealDcDc.feedback.y,armatureInverter.idealDcDc.groundMotor.p.i,armatureInverter.idealDcDc.groundMotor.p.v,armatureInverter.idealDcDc.pin_nBat.i,armatureInverter.idealDcDc.pin_nBat.v,armatureInverter.idealDcDc.pin_nMot.i,armatureInverter.idealDcDc.pin_nMot.v,armatureInverter.idealDcDc.pin_pBat.i,armatureInverter.idealDcDc.pin_pBat.v,armatureInverter.idealDcDc.pin_pMot.i,armatureInverter.idealDcDc.pin_pMot.v,armatureInverter.idealDcDc.powerBat.currentSensor.i,armatureInverter.idealDcDc.powerBat.currentSensor.n.i,armatureInverter.idealDcDc.powerBat.currentSensor.n.v,armatureInverter.idealDcDc.powerBat.currentSensor.p.i,armatureInverter.idealDcDc.powerBat.currentSensor.p.v,armatureInverter.idealDcDc.powerBat.nc.i,armatureInverter.idealDcDc.powerBat.nc.v,armatureInverter.idealDcDc.powerBat.nv.i,armatureInverter.idealDcDc.powerBat.nv.v,armatureInverter.idealDcDc.powerBat.pc.i,armatureInverter.idealDcDc.powerBat.pc.v,armatureInverter.idealDcDc.powerBat.power,armatureInverter.idealDcDc.powerBat.product.u1,armatureInverter.idealDcDc.powerBat.product.u2,armatureInverter.idealDcDc.powerBat.product.y,armatureInverter.idealDcDc.powerBat.pv.i,armatureInverter.idealDcDc.powerBat.pv.v,armatureInverter.idealDcDc.powerBat.voltageSensor.n.i,armatureInverter.idealDcDc.powerBat.voltageSensor.n.v,armatureInverter.idealDcDc.powerBat.voltageSensor.p.i,armatureInverter.idealDcDc.powerBat.voltageSensor.p.v,armatureInverter.idealDcDc.powerBat.voltageSensor.v,armatureInverter.idealDcDc.powerController.initType,armatureInverter.idealDcDc.powerController.k,armatureInverter.idealDcDc.powerController.u,armatureInverter.idealDcDc.powerController.use_reset,armatureInverter.idealDcDc.powerController.use_set,armatureInverter.idealDcDc.powerController.y,armatureInverter.idealDcDc.powerController.y_start,armatureInverter.idealDcDc.powerMot.currentSensor.i,armatureInverter.idealDcDc.powerMot.currentSensor.n.i,armatureInverter.idealDcDc.powerMot.currentSensor.n.v,armatureInverter.idealDcDc.powerMot.currentSensor.p.i,armatureInverter.idealDcDc.powerMot.currentSensor.p.v,armatureInverter.idealDcDc.powerMot.nc.i,armatureInverter.idealDcDc.powerMot.nc.v,armatureInverter.idealDcDc.powerMot.nv.i,armatureInverter.idealDcDc.powerMot.nv.v,armatureInverter.idealDcDc.powerMot.pc.i,armatureInverter.idealDcDc.powerMot.pc.v,armatureInverter.idealDcDc.powerMot.power,armatureInverter.idealDcDc.powerMot.product.u1,armatureInverter.idealDcDc.powerMot.product.u2,armatureInverter.idealDcDc.powerMot.product.y,armatureInverter.idealDcDc.powerMot.pv.i,armatureInverter.idealDcDc.powerMot.pv.v,armatureInverter.idealDcDc.powerMot.voltageSensor.n.i,armatureInverter.idealDcDc.powerMot.voltageSensor.n.v,armatureInverter.idealDcDc.powerMot.voltageSensor.p.i,armatureInverter.idealDcDc.powerMot.voltageSensor.p.v,armatureInverter.idealDcDc.powerMot.voltageSensor.v,armatureInverter.idealDcDc.signalCurrent.i,armatureInverter.idealDcDc.signalCurrent.n.i,armatureInverter.idealDcDc.signalCurrent.n.v,armatureInverter.idealDcDc.signalCurrent.p.i,armatureInverter.idealDcDc.signalCurrent.p.v,armatureInverter.idealDcDc.signalCurrent.v,armatureInverter.idealDcDc.signalVoltage.i,armatureInverter.idealDcDc.signalVoltage.n.i,armatureInverter.idealDcDc.signalVoltage.n.v,armatureInverter.idealDcDc.signalVoltage.p.i,armatureInverter.idealDcDc.signalVoltage.p.v,armatureInverter.idealDcDc.signalVoltage.v,armatureInverter.idealDcDc.vRef,armatureInverter.pDC,armatureInverter.pMot,armatureInverter.pin_nBat.i,armatureInverter.pin_nBat.v,armatureInverter.pin_nMot.i,armatureInverter.pin_nMot.v,armatureInverter.pin_pBat.i,armatureInverter.pin_pBat.v,armatureInverter.pin_pMot.i,armatureInverter.pin_pMot.v,armatureInverter.useIdealInverter,armatureInverter.vDC,armatureInverter.vDCFilter.T,armatureInverter.vDCFilter.initType,armatureInverter.vDCFilter.k,armatureInverter.vDCFilter.u,armatureInverter.vDCFilter.y,armatureInverter.vDCFilter.y_start,armatureInverter.vDCSensor.n.i,armatureInverter.vDCSensor.n.v,armatureInverter.vDCSensor.p.i,armatureInverter.vDCSensor.p.v,armatureInverter.vDCSensor.v,armatureInverter.vMot,armatureInverter.vMotFilter.T,armatureInverter.vMotFilter.initType,armatureInverter.vMotFilter.k,armatureInverter.vMotFilter.u,armatureInverter.vMotFilter.y,armatureInverter.vMotFilter.y_start,armatureInverter.vMotSensor.n.i,armatureInverter.vMotSensor.n.v,armatureInverter.vMotSensor.p.i,armatureInverter.vMotSensor.p.v,armatureInverter.vMotSensor.v,armatureInverter.vRef,armatureInverter.variableLimiter.homotopyType,armatureInverter.variableLimiter.limit1,armatureInverter.variableLimiter.limit2,armatureInverter.variableLimiter.strict,armatureInverter.variableLimiter.u,armatureInverter.variableLimiter.y,armatureInverter.variableLimiter.ySimplified,constantVoltage.V,constantVoltage.i,constantVoltage.n.i,constantVoltage.n.v,constantVoltage.p.i,constantVoltage.p.v,constantVoltage.v,currentController.KFF,currentController.Ti,currentController.add3.k1,currentController.add3.k2,currentController.add3.k3,currentController.add3.u1,currentController.add3.u2,currentController.add3.u3,currentController.add3.y,currentController.addAntiWindup.k1,currentController.addAntiWindup.k2,currentController.addAntiWindup.u1,currentController.addAntiWindup.u2,currentController.addAntiWindup.y,currentController.addSat.u1,currentController.addSat.u2,currentController.addSat.y,currentController.constantLimits,currentController.controlError,currentController.feedForward,currentController.feedback.u1,currentController.feedback.u2,currentController.feedback.y,currentController.initType,currentController.integrator.initType,currentController.integrator.k,currentController.integrator.u,currentController.integrator.use_reset,currentController.integrator.use_set,currentController.integrator.y,currentController.integrator.y_start,currentController.k,currentController.product.u1,currentController.product.u2,currentController.product.y,currentController.symmetricLimits,currentController.u,currentController.u_m,currentController.useConstantKFF,currentController.useFF,currentController.useI,currentController.variableLimiter.homotopyType,currentController.variableLimiter.limit1,currentController.variableLimiter.limit2,currentController.variableLimiter.strict,currentController.variableLimiter.u,currentController.variableLimiter.y,currentController.variableLimiter.ySimplified,currentController.x_start,currentController.y,currentController.yMax,currentController.yMaxVar,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.airGapDC.Le,dcpm.airGapDC.flange.phi,dcpm.airGapDC.flange.tau,dcpm.airGapDC.ia,dcpm.airGapDC.ie,dcpm.airGapDC.pin_an.i,dcpm.airGapDC.pin_an.v,dcpm.airGapDC.pin_ap.i,dcpm.airGapDC.pin_ap.v,dcpm.airGapDC.pin_en.i,dcpm.airGapDC.pin_en.v,dcpm.airGapDC.pin_ep.i,dcpm.airGapDC.pin_ep.v,dcpm.airGapDC.psi_e,dcpm.airGapDC.quasiStatic,dcpm.airGapDC.support.phi,dcpm.airGapDC.support.tau,dcpm.airGapDC.tauElectrical,dcpm.airGapDC.turnsRatio,dcpm.airGapDC.vai,dcpm.airGapDC.vei,dcpm.airGapDC.w,dcpm.alpha20a,dcpm.brush.brushParameters.ILinear,dcpm.brush.brushParameters.V,dcpm.brush.heatPort.Q_flow,dcpm.brush.heatPort.T,dcpm.brush.i,dcpm.brush.lossPower,dcpm.brush.n.i,dcpm.brush.n.v,dcpm.brush.p.i,dcpm.brush.p.v,dcpm.brush.useHeatPort,dcpm.brush.v,dcpm.brushParameters.ILinear,dcpm.brushParameters.V,dcpm.core.Gc,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.core.heatPort.Q_flow,dcpm.core.heatPort.T,dcpm.core.i,dcpm.core.lossPower,dcpm.core.n.i,dcpm.core.n.v,dcpm.core.p.i,dcpm.core.p.v,dcpm.core.useHeatPort,dcpm.core.v,dcpm.core.w,dcpm.coreParameters.GcRef,dcpm.coreParameters.PRef,dcpm.coreParameters.VRef,dcpm.coreParameters.m,dcpm.coreParameters.ratioHysteresis,dcpm.coreParameters.wMin,dcpm.coreParameters.wRef,dcpm.eGround.p.i,dcpm.eGround.p.v,dcpm.fixed.flange.phi,dcpm.fixed.flange.tau,dcpm.fixed.phi0,dcpm.flange.phi,dcpm.flange.tau,dcpm.friction.flange.phi,dcpm.friction.flange.tau,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.heatPort.Q_flow,dcpm.friction.heatPort.T,dcpm.friction.lossPower,dcpm.friction.phi,dcpm.friction.support.phi,dcpm.friction.support.tau,dcpm.friction.tau,dcpm.friction.useHeatPort,dcpm.friction.w,dcpm.frictionParameters.PRef,dcpm.frictionParameters.linear,dcpm.frictionParameters.power_w,dcpm.frictionParameters.tauLinear,dcpm.frictionParameters.tauRef,dcpm.frictionParameters.wLinear,dcpm.frictionParameters.wRef,dcpm.ia,dcpm.ie.I,dcpm.ie.i,dcpm.ie.n.i,dcpm.ie.n.v,dcpm.ie.p.i,dcpm.ie.p.v,dcpm.ie.v,dcpm.inertiaRotor.J,dcpm.inertiaRotor.a,dcpm.inertiaRotor.flange_a.phi,dcpm.inertiaRotor.flange_a.tau,dcpm.inertiaRotor.flange_b.phi,dcpm.inertiaRotor.flange_b.tau,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.stateSelect,dcpm.inertiaRotor.w,dcpm.inertiaStator.J,dcpm.inertiaStator.a,dcpm.inertiaStator.flange_a.phi,dcpm.inertiaStator.flange_a.tau,dcpm.inertiaStator.flange_b.phi,dcpm.inertiaStator.flange_b.tau,dcpm.inertiaStator.phi,dcpm.inertiaStator.stateSelect,dcpm.inertiaStator.w,dcpm.la.L,dcpm.la.i,dcpm.la.n.i,dcpm.la.n.v,dcpm.la.p.i,dcpm.la.p.v,dcpm.la.quasiStatic,dcpm.la.v,dcpm.phiMechanical,dcpm.pin_an.i,dcpm.pin_an.v,dcpm.pin_ap.i,dcpm.pin_ap.v,dcpm.powerBalance.lossPowerArmature,dcpm.powerBalance.lossPowerBrush,dcpm.powerBalance.lossPowerCore,dcpm.powerBalance.lossPowerFriction,dcpm.powerBalance.lossPowerPermanentMagnet,dcpm.powerBalance.lossPowerStrayLoad,dcpm.powerBalance.lossPowerTotal,dcpm.powerBalance.powerArmature,dcpm.powerBalance.powerInertiaRotor,dcpm.powerBalance.powerInertiaStator,dcpm.powerBalance.powerMechanical,dcpm.ra.LossPower,dcpm.ra.R,dcpm.ra.R_actual,dcpm.ra.T,dcpm.ra.T_heatPort,dcpm.ra.T_ref,dcpm.ra.alpha,dcpm.ra.heatPort.Q_flow,dcpm.ra.heatPort.T,dcpm.ra.i,dcpm.ra.n.i,dcpm.ra.n.v,dcpm.ra.p.i,dcpm.ra.p.v,dcpm.ra.useHeatPort,dcpm.ra.v,dcpm.strayLoad.flange.phi,dcpm.strayLoad.flange.tau,dcpm.strayLoad.heatPort.Q_flow,dcpm.strayLoad.heatPort.T,dcpm.strayLoad.i,dcpm.strayLoad.lossPower,dcpm.strayLoad.n.i,dcpm.strayLoad.n.v,dcpm.strayLoad.p.i,dcpm.strayLoad.p.v,dcpm.strayLoad.phi,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.strayLoad.support.tau,dcpm.strayLoad.tau,dcpm.strayLoad.useHeatPort,dcpm.strayLoad.v,dcpm.strayLoad.w,dcpm.strayLoadParameters.IRef,dcpm.strayLoadParameters.PRef,dcpm.strayLoadParameters.power_w,dcpm.strayLoadParameters.tauRef,dcpm.strayLoadParameters.wRef,dcpm.tauElectrical,dcpm.tauShaft,dcpm.thermalAmbient.Q_flowArmature,dcpm.thermalAmbient.Q_flowBrush,dcpm.thermalAmbient.Q_flowCore,dcpm.thermalAmbient.Q_flowFriction,dcpm.thermalAmbient.Q_flowPermanentMagnet,dcpm.thermalAmbient.Q_flowStrayLoad,dcpm.thermalAmbient.Q_flowTotal,dcpm.thermalAmbient.Ta,dcpm.thermalAmbient.Tpm,dcpm.thermalAmbient.constTa.k,dcpm.thermalAmbient.constTa.y,dcpm.thermalAmbient.constTpm.k,dcpm.thermalAmbient.constTpm.y,dcpm.thermalAmbient.temperatureArmature.T,dcpm.thermalAmbient.temperatureArmature.port.Q_flow,dcpm.thermalAmbient.temperatureArmature.port.T,dcpm.thermalAmbient.temperatureBrush.T,dcpm.thermalAmbient.temperatureBrush.port.Q_flow,dcpm.thermalAmbient.temperatureBrush.port.T,dcpm.thermalAmbient.temperatureCore.T,dcpm.thermalAmbient.temperatureCore.port.Q_flow,dcpm.thermalAmbient.temperatureCore.port.T,dcpm.thermalAmbient.temperatureFriction.T,dcpm.thermalAmbient.temperatureFriction.port.Q_flow,dcpm.thermalAmbient.temperatureFriction.port.T,dcpm.thermalAmbient.temperaturePermanentMagnet.T,dcpm.thermalAmbient.temperaturePermanentMagnet.port.Q_flow,dcpm.thermalAmbient.temperaturePermanentMagnet.port.T,dcpm.thermalAmbient.temperatureStrayLoad.T,dcpm.thermalAmbient.temperatureStrayLoad.port.Q_flow,dcpm.thermalAmbient.temperatureStrayLoad.port.T,dcpm.thermalAmbient.thermalPort.heatPortArmature.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortArmature.T,dcpm.thermalAmbient.thermalPort.heatPortBrush.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortBrush.T,dcpm.thermalAmbient.thermalPort.heatPortCore.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortCore.T,dcpm.thermalAmbient.thermalPort.heatPortFriction.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortFriction.T,dcpm.thermalAmbient.thermalPort.heatPortPermanentMagnet.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortPermanentMagnet.T,dcpm.thermalAmbient.thermalPort.heatPortStrayLoad.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortStrayLoad.T,dcpm.thermalAmbient.useTemperatureInputs,dcpm.useSupport,dcpm.useThermalPort,dcpm.va,dcpm.wMechanical,dcpm.wNominal,der(armatureInverter.iDCFilter.y),der(armatureInverter.iMotFilter.y),der(armatureInverter.idealDcDc.deadTime.y),der(armatureInverter.idealDcDc.powerController.y),der(armatureInverter.vDCFilter.y),der(armatureInverter.vMotFilter.y),der(currentController.integrator.y),der(dcpm.friction.phi),der(dcpm.la.i),der(dcpm.phiMechanical),der(dcpm.strayLoad.phi),der(loadInertia.w),der(loadTorque.phi),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,ground.p.i,ground.p.v,loadInertia.J,loadInertia.a,loadInertia.flange_a.phi,loadInertia.flange_a.tau,loadInertia.flange_b.phi,loadInertia.flange_b.tau,loadInertia.phi,loadInertia.stateSelect,loadInertia.w,loadTorque.TorqueDirection,loadTorque.flange.phi,loadTorque.flange.tau,loadTorque.phi,loadTorque.tau,loadTorque.tau_nominal,loadTorque.useSupport,loadTorque.w,loadTorque.w_nominal,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.useHeatPort,resistor.v,speedSensor.flange.phi,speedSensor.flange.tau,speedSensor.w,step.height,step.offset,step.startTime,step.y,tau2i.k,tau2i.u,tau2i.y,time