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.001085/0.001085, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 60.44 kB / 306.4 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07857/0.07974, allocations: 50.53 MB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01354/0.09331, allocations: 13.98 MB / 370.9 MB, free: 152 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1467/0.24, allocations: 5.116 MB / 376 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.2422, allocations: 54.75 kB / 376 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.2449, allocations: 0.7689 MB / 376.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.2467, allocations: 468.2 kB / 377.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.2477, allocations: 455.9 kB / 377.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.2495, allocations: 1.987 MB / 379.7 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.2508, allocations: 0.9723 MB / 380.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009532/0.2517, allocations: 0.6917 MB / 381.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/0.2525, allocations: 0.8043 MB / 382.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.2527, allocations: 135.4 kB / 382.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.2531, allocations: 167.4 kB / 382.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.2534, allocations: 343.6 kB / 382.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00073/0.2541, allocations: 0.8755 MB / 383.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.2563, allocations: 2.577 MB / 386.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2563, allocations: 0 / 386.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2564, allocations: 0 / 386.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.296e-05/0.2564, allocations: 0 / 386.3 MB, free: 4.742 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.003489/0.2599, allocations: 2.007 MB / 388.3 MB, free: 3.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.26, allocations: 13.41 kB / 388.3 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/0.2602, allocations: 214.1 kB / 388.5 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000744/0.2609, allocations: 240.1 kB / 388.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.2624, allocations: 1.017 MB / 389.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/0.2625, allocations: 112.4 kB / 389.8 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.2627, allocations: 158.8 kB / 390 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.265, allocations: 1.409 MB / 391.4 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.2651, allocations: 6.156 kB / 391.4 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.2652, allocations: 61.78 kB / 391.5 MB, free: 1.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.2652, allocations: 36.22 kB / 391.5 MB, free: 1.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.2669, allocations: 0.9404 MB / 392.4 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007034/0.2739, allocations: 6.056 MB / 398.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.275, allocations: 0.6413 MB / 399.1 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.2755, allocations: 242.3 kB / 399.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.2756, allocations: 9.906 kB / 399.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2756, allocations: 38.31 kB / 399.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/0.2756, allocations: 4 kB / 399.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.00308/0.2787, allocations: 1.698 MB / 401.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.2788, allocations: 83.52 kB / 401.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.2803, allocations: 1.115 MB / 402.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.2804, allocations: 36.36 kB / 402.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000521/0.2809, allocations: 0.7933 MB / 403.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.2811, allocations: 199.7 kB / 403.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.2813, allocations: 186.2 kB / 403.5 MB, free: 8.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2814, allocations: 341.5 kB / 403.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.2819, allocations: 244 kB / 404.1 MB, free: 8.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.2826, allocations: 0.625 MB / 404.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.2837, allocations: 0.9114 MB / 405.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2838, allocations: 4.938 kB / 405.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00149/0.2853, allocations: 0.9947 MB / 406.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2853, allocations: 10.81 kB / 406.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.2853, allocations: 13.03 kB / 406.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.2855, allocations: 35.69 kB / 406.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.2861, allocations: 223.7 kB / 406.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.2873, allocations: 1.309 MB / 408.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007311/0.288, allocations: 49.11 kB / 408.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/0.2881, allocations: 50.56 kB / 408.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007631/0.2888, allocations: 462.8 kB / 408.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006153/0.2895, allocations: 0.5986 MB / 409.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001036/0.2905, allocations: 0.8639 MB / 410.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.295e-06/0.2905, allocations: 4 kB / 410.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001566/0.2921, allocations: 0.9442 MB / 411.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2921, allocations: 15.98 kB / 411.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.2922, allocations: 15.94 kB / 411.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.223e-05/0.2923, allocations: 36.86 kB / 411.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.2929, allocations: 215.7 kB / 411.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009391/0.2939, allocations: 1.292 MB / 412.8 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.2946, allocations: 39.98 kB / 412.8 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.2946, allocations: 44 kB / 412.8 MB, free: 12 kB / 318.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.0002228/0.2949, allocations: 255.9 kB / 413.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.295, allocations: 118.4 kB / 413.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.2961, allocations: 0.5592 MB / 413.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2961, allocations: 7.938 kB / 413.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2962, allocations: 4 kB / 413.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2962, allocations: 7.984 kB / 413.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.2992, allocations: 1.844 MB / 415.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2992, allocations: 4 kB / 415.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.2997, allocations: 103.9 kB / 415.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-05/0.2998, allocations: 25.08 kB / 415.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.992e-05/0.2999, allocations: 12 kB / 415.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008377/0.3007, allocations: 1.28 MB / 417 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3007, allocations: 4.031 kB / 417.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.3021, allocations: 0.8991 MB / 418 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.3025, allocations: 243.6 kB / 418.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.3026, allocations: 19.98 kB / 418.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.3032, allocations: 27.98 kB / 418.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.3033, allocations: 40.52 kB / 418.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.3033, allocations: 19.98 kB / 418.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.3044, allocations: 0.7475 MB / 419 MB, free: 9.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3044, allocations: 0 / 419 MB, free: 9.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001532/0.3059, allocations: 464 kB / 419.5 MB, free: 9.055 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.00186/0.3078, allocations: 1.489 MB / 421 MB, free: 7.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.3099, allocations: 1.239 MB / 422.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3099, allocations: 4.25 kB / 422.2 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005074/0.3104, allocations: 357 kB / 422.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.3118, allocations: 259.9 kB / 422.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/0.3299, allocations: 11.36 MB / 434.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/0.3308, allocations: 1.165 MB / 435.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007368/0.3315, allocations: 153.1 kB / 435.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/0.3322, allocations: 0.5383 MB / 436 MB, free: 7.605 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3322, allocations: 0 / 436 MB, free: 7.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06801/0.4002, allocations: 23.6 MB / 459.6 MB, free: 308 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.4004, allocations: 268.5 kB / 459.9 MB, free: 0 / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.206, allocations: 2.672 kB / 459.9 MB, free: 0 / 366.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