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.001126/0.001126, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2625, allocations: 50.54 MB / 408.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01471/0.2772, allocations: 14.11 MB / 422.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.2874, allocations: 5.224 MB / 428.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/0.2905, allocations: 59.75 kB / 428.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.2934, allocations: 0.8696 MB / 429 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.2955, allocations: 0.5424 MB / 429.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.2966, allocations: 0.5072 MB / 430.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.2991, allocations: 2.131 MB / 432.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.3005, allocations: 1.1 MB / 433.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.3015, allocations: 0.7938 MB / 434.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008897/0.3024, allocations: 0.8671 MB / 435 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.3027, allocations: 228 kB / 435.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.3032, allocations: 264 kB / 435.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.3035, allocations: 442.5 kB / 435.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008355/0.3043, allocations: 0.9564 MB / 436.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.307, allocations: 2.698 MB / 439.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.307, allocations: 0 / 439.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.307, allocations: 0 / 439.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.3071, allocations: 0 / 439.5 MB, free: 2.633 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.003354/0.3104, allocations: 2.016 MB / 441.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3105, allocations: 15.97 kB / 441.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002352/0.3107, allocations: 211.6 kB / 441.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006832/0.3114, allocations: 234.6 kB / 442 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.3131, allocations: 1.04 MB / 443 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/0.3132, allocations: 111.3 kB / 443.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.3134, allocations: 160 kB / 443.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.3157, allocations: 1.407 MB / 444.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.3157, allocations: 4 kB / 444.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.3159, allocations: 60 kB / 444.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.3159, allocations: 36 kB / 444.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.3176, allocations: 0.9477 MB / 445.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007489/0.3251, allocations: 5.977 MB / 451.7 MB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.3262, allocations: 0.6465 MB / 452.4 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.3267, allocations: 249.9 kB / 452.6 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.3268, allocations: 4.438 kB / 452.6 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3268, allocations: 39 kB / 452.7 MB, free: 4.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 4.168e-06/0.3268, allocations: 0 / 452.7 MB, free: 4.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=54): time 0.003063/0.3299, allocations: 1.703 MB / 454.4 MB, free: 3.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.3299, allocations: 89.48 kB / 454.5 MB, free: 3.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.3314, allocations: 1.115 MB / 455.6 MB, free: 1.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.3315, allocations: 37.7 kB / 455.6 MB, free: 1.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.332, allocations: 0.7897 MB / 456.4 MB, free: 1.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3321, allocations: 205.1 kB / 456.6 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.3324, allocations: 182.4 kB / 456.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3325, allocations: 341.9 kB / 457.1 MB, free: 396 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.3329, allocations: 248.8 kB / 457.4 MB, free: 144 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007416/0.3337, allocations: 0.6174 MB / 458 MB, free: 15.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.3349, allocations: 0.9107 MB / 458.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3349, allocations: 4 kB / 458.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001622/0.3366, allocations: 0.9944 MB / 459.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3366, allocations: 8 kB / 459.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3366, allocations: 16 kB / 459.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.3368, allocations: 41.41 kB / 460 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.3375, allocations: 223.6 kB / 460.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.3386, allocations: 1.398 MB / 461.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.3393, allocations: 47.98 kB / 461.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.3394, allocations: 44 kB / 461.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007758/0.3401, allocations: 466 kB / 462.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006261/0.3408, allocations: 0.5979 MB / 462.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001027/0.3418, allocations: 0.8678 MB / 463.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.631e-06/0.3418, allocations: 4 kB / 463.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001443/0.3433, allocations: 0.9402 MB / 464.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3433, allocations: 19.88 kB / 464.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3433, allocations: 12 kB / 464.6 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/0.3434, allocations: 44.88 kB / 464.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.3441, allocations: 215.7 kB / 464.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.3451, allocations: 1.394 MB / 466.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.3458, allocations: 35.94 kB / 466.2 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.3458, allocations: 51.98 kB / 466.3 MB, free: 6.16 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.0002662/0.3461, allocations: 251.9 kB / 466.5 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.3462, allocations: 118.5 kB / 466.7 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3473, allocations: 0.5592 MB / 467.2 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3473, allocations: 7.938 kB / 467.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3474, allocations: 0 / 467.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.3474, allocations: 7.984 kB / 467.2 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.35, allocations: 1.827 MB / 469.1 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.35, allocations: 4 kB / 469.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.3505, allocations: 103.9 kB / 469.2 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.365e-05/0.3506, allocations: 24.84 kB / 469.2 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.3507, allocations: 16 kB / 469.2 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009101/0.3516, allocations: 1.387 MB / 470.6 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3516, allocations: 3.938 kB / 470.6 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.3529, allocations: 0.9041 MB / 471.5 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.3532, allocations: 243.6 kB / 471.7 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.3534, allocations: 16 kB / 471.7 MB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/0.3539, allocations: 35.97 kB / 471.8 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.354, allocations: 36.33 kB / 471.8 MB, free: 340 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.354, allocations: 16 kB / 471.8 MB, free: 324 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001087/0.3551, allocations: 0.7476 MB / 472.6 MB, free: 15.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3551, allocations: 0 / 472.6 MB, free: 15.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001522/0.3566, allocations: 464 kB / 473 MB, free: 15.11 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.001782/0.3584, allocations: 1.491 MB / 474.5 MB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.3605, allocations: 1.246 MB / 475.8 MB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.3605, allocations: 4 kB / 475.8 MB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/0.361, allocations: 349.2 kB / 476.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.3623, allocations: 279.3 kB / 476.4 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.3768, allocations: 9.774 MB / 486.2 MB, free: 1.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008658/0.3777, allocations: 1.169 MB / 487.3 MB, free: 136 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006841/0.3784, allocations: 165.1 kB / 487.5 MB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/0.3791, allocations: 0.5423 MB / 488 MB, free: 15.43 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3791, allocations: 0 / 488 MB, free: 15.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05613/0.4352, allocations: 25.15 MB / 0.5012 GB, free: 6.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.99, allocations: 2.031 kB / 0.5012 GB, free: 6.559 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