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.001007/0.001007, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001079, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 59.94 kB / 307.1 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1181, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.1891/0.3073, allocations: 14.1 MB / 371.7 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3194, allocations: 5.221 MB / 376.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004134/0.3236, allocations: 57.41 kB / 377 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004194/0.3278, allocations: 0.8796 MB / 377.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.3308, allocations: 0.5391 MB / 378.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.332, allocations: 0.5036 MB / 378.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003351/0.3354, allocations: 2.116 MB / 381 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.3372, allocations: 1.1 MB / 382.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.3387, allocations: 0.7794 MB / 382.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.3399, allocations: 0.8643 MB / 383.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.3402, allocations: 227.5 kB / 384 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006181/0.3408, allocations: 269.3 kB / 384.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003541/0.3412, allocations: 438.3 kB / 384.7 MB, free: 5.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009641/0.3421, allocations: 0.9613 MB / 385.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003478/0.3456, allocations: 2.656 MB / 388.3 MB, free: 4.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3457, allocations: 0 / 388.3 MB, free: 4.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3457, allocations: 1.031 kB / 388.3 MB, free: 4.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.671e-05/0.3457, allocations: 0 / 388.3 MB, free: 4.301 MB / 302.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.00413/0.3499, allocations: 2.005 MB / 390.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.3499, allocations: 9.344 kB / 390.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002767/0.3502, allocations: 220.3 kB / 390.5 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007817/0.351, allocations: 235.4 kB / 390.7 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.3526, allocations: 1.025 MB / 391.8 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.025e-05/0.3527, allocations: 111.5 kB / 391.9 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.353, allocations: 153.5 kB / 392 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.3554, allocations: 1.414 MB / 393.4 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.3554, allocations: 1.406 kB / 393.4 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.3555, allocations: 61.47 kB / 393.5 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.3556, allocations: 36.44 kB / 393.5 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.3573, allocations: 0.9441 MB / 394.5 MB, free: 468 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008984/0.3663, allocations: 6.043 MB / 400.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.3675, allocations: 0.6506 MB / 401.2 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.368, allocations: 238.9 kB / 401.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.368, allocations: 10.14 kB / 401.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.368, allocations: 37.75 kB / 401.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.705e-06/0.3681, allocations: 0 / 401.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.003612/0.3717, allocations: 1.702 MB / 403.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.3717, allocations: 86.3 kB / 403.2 MB, free: 9.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.3733, allocations: 1.108 MB / 404.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.3734, allocations: 36.08 kB / 404.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000534/0.3739, allocations: 0.7956 MB / 405.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.3741, allocations: 197.6 kB / 405.4 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.3744, allocations: 183.2 kB / 405.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3745, allocations: 345.8 kB / 405.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.375, allocations: 242.1 kB / 406.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.3758, allocations: 0.6226 MB / 406.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.377, allocations: 0.9129 MB / 407.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.377, allocations: 3.594 kB / 407.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001717/0.3787, allocations: 0.9947 MB / 408.7 MB, free: 5.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.3788, allocations: 14.19 kB / 408.7 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.3788, allocations: 15.38 kB / 408.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.379, allocations: 40.89 kB / 408.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.3797, allocations: 227.6 kB / 409 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.3808, allocations: 1.386 MB / 410.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.3816, allocations: 56.05 kB / 410.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.3816, allocations: 44 kB / 410.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008926/0.3825, allocations: 466 kB / 410.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006434/0.3832, allocations: 0.6017 MB / 411.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001068/0.3843, allocations: 0.8639 MB / 412.4 MB, free: 1.352 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.141e-06/0.3843, allocations: 4 kB / 412.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001529/0.3858, allocations: 0.94 MB / 413.3 MB, free: 408 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3859, allocations: 15.94 kB / 413.3 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.3859, allocations: 15.94 kB / 413.3 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.386, allocations: 40.78 kB / 413.4 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.3867, allocations: 220 kB / 413.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.3878, allocations: 1.394 MB / 415 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.3886, allocations: 35.95 kB / 415 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.3887, allocations: 51.98 kB / 415.1 MB, free: 14.49 MB / 334.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.0002946/0.389, allocations: 259.7 kB / 415.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.3892, allocations: 114.6 kB / 415.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.3903, allocations: 0.5593 MB / 416 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3904, allocations: 7.938 kB / 416 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3904, allocations: 0 / 416 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3904, allocations: 3.984 kB / 416 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.3934, allocations: 1.843 MB / 417.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.3934, allocations: 0 / 417.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.3939, allocations: 107.8 kB / 418 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001598/0.3941, allocations: 20.84 kB / 418 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.3941, allocations: 16 kB / 418 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.3952, allocations: 1.383 MB / 419.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3952, allocations: 0 / 419.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.3967, allocations: 0.9031 MB / 420.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.3971, allocations: 239.6 kB / 420.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.3972, allocations: 20 kB / 420.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/0.3978, allocations: 35.97 kB / 420.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.3979, allocations: 44.34 kB / 420.6 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.3979, allocations: 16 kB / 420.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00108/0.399, allocations: 0.7514 MB / 421.4 MB, free: 7.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.399, allocations: 4 kB / 421.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001694/0.4007, allocations: 460 kB / 421.8 MB, free: 7.434 MB / 334.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.002074/0.4028, allocations: 1.486 MB / 423.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.4052, allocations: 1.255 MB / 424.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4053, allocations: 8 kB / 424.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005214/0.4058, allocations: 352.9 kB / 424.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.4071, allocations: 280.2 kB / 425.2 MB, free: 4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.4223, allocations: 10.77 MB / 436 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008545/0.4233, allocations: 1.169 MB / 437.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007607/0.424, allocations: 157.1 kB / 437.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/0.4247, allocations: 0.5383 MB / 437.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4247, allocations: 0 / 437.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05601/0.4807, allocations: 24.3 MB / 462.1 MB, free: 14.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.02, allocations: 15.55 kB / 462.1 MB, free: 14.5 MB / 382.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) "Error: Error getting time " 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