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.001571/0.001571, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001896, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.41 kB / 306.6 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08792/0.08913, allocations: 50.54 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01501/0.1042, allocations: 13.97 MB / 371.1 MB, free: 268 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1572/0.2615, allocations: 5.094 MB / 376.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.2631, allocations: 55.88 kB / 376.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.2654, allocations: 0.7907 MB / 377 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.2668, allocations: 458.6 kB / 377.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.2676, allocations: 459 kB / 377.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.2693, allocations: 2.117 MB / 380 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.2705, allocations: 1.097 MB / 381.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.2714, allocations: 0.7865 MB / 381.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007203/0.2722, allocations: 0.8664 MB / 382.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.2724, allocations: 225.4 kB / 383 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.2728, allocations: 267.8 kB / 383.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.2731, allocations: 441.2 kB / 383.7 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006693/0.2738, allocations: 0.9654 MB / 384.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.2762, allocations: 2.649 MB / 387.3 MB, free: 4.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2762, allocations: 0 / 387.3 MB, free: 4.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2762, allocations: 4.938 kB / 387.3 MB, free: 4.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.2763, allocations: 0 / 387.3 MB, free: 4.422 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.002987/0.2793, allocations: 2.013 MB / 389.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2793, allocations: 14.38 kB / 389.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002522/0.2796, allocations: 213 kB / 389.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006822/0.2803, allocations: 237.6 kB / 389.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.2815, allocations: 1.014 MB / 390.8 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-05/0.2816, allocations: 111.6 kB / 390.9 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.2818, allocations: 166.2 kB / 391.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.2839, allocations: 1.405 MB / 392.5 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.284, allocations: 6.203 kB / 392.5 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.2841, allocations: 62.53 kB / 392.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.2841, allocations: 37.03 kB / 392.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.2857, allocations: 0.9434 MB / 393.5 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006981/0.2927, allocations: 6.038 MB / 399.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2938, allocations: 0.6514 MB / 400.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.2942, allocations: 235.2 kB / 400.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.2943, allocations: 9.859 kB / 400.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2943, allocations: 43.12 kB / 400.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.234e-06/0.2943, allocations: 0 / 400.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.002943/0.2973, allocations: 1.7 MB / 402.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.2973, allocations: 82.89 kB / 402.3 MB, free: 9.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.2988, allocations: 1.111 MB / 403.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.2989, allocations: 42.5 kB / 403.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.2994, allocations: 0.7923 MB / 404.2 MB, free: 8.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.2995, allocations: 198.7 kB / 404.4 MB, free: 8.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.2998, allocations: 179.4 kB / 404.6 MB, free: 8.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2999, allocations: 342.2 kB / 404.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.3003, allocations: 248.9 kB / 405.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/0.301, allocations: 0.6246 MB / 405.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.3021, allocations: 0.911 MB / 406.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.3021, allocations: 5.25 kB / 406.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001558/0.3037, allocations: 0.9904 MB / 407.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3037, allocations: 11.03 kB / 407.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.3037, allocations: 13.59 kB / 407.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.3039, allocations: 34.23 kB / 407.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/0.3046, allocations: 227.4 kB / 408 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009205/0.3055, allocations: 1.398 MB / 409.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.3062, allocations: 51.88 kB / 409.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.3063, allocations: 48 kB / 409.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007024/0.307, allocations: 466 kB / 409.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000568/0.3076, allocations: 0.5939 MB / 410.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009718/0.3086, allocations: 0.8716 MB / 411.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.083e-06/0.3086, allocations: 8 kB / 411.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001404/0.31, allocations: 0.9321 MB / 412.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.31, allocations: 15.94 kB / 412.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3101, allocations: 12 kB / 412.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.319e-05/0.3102, allocations: 49.28 kB / 412.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.3108, allocations: 219.7 kB / 412.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008281/0.3117, allocations: 1.386 MB / 414 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.3123, allocations: 43.89 kB / 414 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.3124, allocations: 48 kB / 414.1 MB, free: 14.92 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.0001789/0.3126, allocations: 247.8 kB / 414.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.3127, allocations: 118.7 kB / 414.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.3137, allocations: 0.5592 MB / 415 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.3138, allocations: 11.94 kB / 415 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3138, allocations: 3.984 kB / 415 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3138, allocations: 0 / 415 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.3164, allocations: 1.841 MB / 416.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3164, allocations: 0 / 416.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.3169, allocations: 107.8 kB / 417 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.099e-05/0.317, allocations: 21.08 kB / 417 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.3171, allocations: 23.98 kB / 417 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008222/0.3179, allocations: 1.378 MB / 418.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3179, allocations: 0 / 418.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.3192, allocations: 0.907 MB / 419.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.3195, allocations: 243.6 kB / 419.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.3197, allocations: 16 kB / 419.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004996/0.3202, allocations: 31.97 kB / 419.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.3203, allocations: 40.36 kB / 419.6 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.3203, allocations: 16 kB / 419.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009192/0.3212, allocations: 0.7514 MB / 420.4 MB, free: 8.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3212, allocations: 4 kB / 420.4 MB, free: 8.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0013/0.3225, allocations: 460 kB / 420.8 MB, free: 7.863 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.001641/0.3242, allocations: 1.49 MB / 422.3 MB, free: 6.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.3262, allocations: 1.258 MB / 423.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3262, allocations: 0 / 423.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004774/0.3267, allocations: 353 kB / 423.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.3279, allocations: 292.7 kB / 424.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/0.3433, allocations: 11.35 MB / 435.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.344, allocations: 1.165 MB / 436.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006616/0.3447, allocations: 161.1 kB / 436.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.3453, allocations: 0.5423 MB / 437.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3453, allocations: 0 / 437.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07627/0.4216, allocations: 24.16 MB / 461.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/0.422, allocations: 271.5 kB / 461.8 MB, free: 14.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.75, allocations: 0 / 461.8 MB, free: 14.24 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