Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="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|speedController.integrator.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="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|speedController.integrator.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001756/0.001756, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 205.2 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.46/1.46, allocations: 230.4 MB / 250 MB, free: 9.113 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.83 kB / 367.4 MB, free: 7.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2355, allocations: 53.31 MB / 420.7 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM): time 0.01893/0.2544, allocations: 15.34 MB / 436 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.2646, allocations: 5.75 MB / 441.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.2665, allocations: 75.62 kB / 441.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.269, allocations: 1.009 MB / 442.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.2706, allocations: 0.6511 MB / 443.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.2719, allocations: 0.7374 MB / 444.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002775/0.2746, allocations: 2.703 MB / 446.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.2759, allocations: 0.8425 MB / 447.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.2772, allocations: 1.066 MB / 448.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.2784, allocations: 1.058 MB / 449.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.2788, allocations: 256 kB / 450.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.2791, allocations: 260 kB / 450.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004549/0.2796, allocations: 0.5216 MB / 450.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.2806, allocations: 1.139 MB / 452.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.2837, allocations: 3.109 MB / 455.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2837, allocations: 0 / 455.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2837, allocations: 0 / 455.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.059e-05/0.2838, allocations: 0 / 455.2 MB, free: 5.668 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 469 * Number of variables: 469 Notification: Performance of Generate backend data structure: time 0.004131/0.2879, allocations: 2.499 MB / 457.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2879, allocations: 8.031 kB / 457.7 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/0.2883, allocations: 263.3 kB / 457.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.2903, allocations: 1.25 MB / 459.2 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/0.2906, allocations: 257.3 kB / 459.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.2909, allocations: 196.1 kB / 459.6 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.2944, allocations: 1.902 MB / 461.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/0.2944, allocations: 3.938 kB / 461.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.2946, allocations: 76 kB / 461.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/0.2946, allocations: 48 kB / 461.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.2981, allocations: 1.559 MB / 463.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009866/0.3079, allocations: 7.081 MB / 470.3 MB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.3106, allocations: 1.171 MB / 471.5 MB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009907/0.3116, allocations: 424.3 kB / 471.9 MB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.3117, allocations: 12.98 kB / 471.9 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.3117, allocations: 47.56 kB / 472 MB, free: 4.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.276e-06/0.3117, allocations: 4 kB / 472 MB, free: 4.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.0302/0.3419, allocations: 7.89 MB / 479.8 MB, free: 12.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.342, allocations: 60.41 kB / 479.9 MB, free: 12.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.3437, allocations: 1.224 MB / 481.1 MB, free: 10.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.881e-05/0.3438, allocations: 45.7 kB / 481.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007985/0.3446, allocations: 1.008 MB / 482.2 MB, free: 9.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/0.345, allocations: 408.5 kB / 482.6 MB, free: 9.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004817/0.3454, allocations: 275.4 kB / 482.9 MB, free: 9.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3456, allocations: 305.1 kB / 483.1 MB, free: 8.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.3474, allocations: 0.7348 MB / 483.9 MB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.3496, allocations: 1.183 MB / 485.1 MB, free: 6.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.3534, allocations: 1.797 MB / 486.9 MB, free: 4.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.3535, allocations: 7.938 kB / 486.9 MB, free: 4.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004691/0.3581, allocations: 2.142 MB / 489 MB, free: 2.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.3582, allocations: 8 kB / 489 MB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.3582, allocations: 16.5 kB / 489 MB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.3584, allocations: 48.84 kB / 489.1 MB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.3602, allocations: 407.4 kB / 489.5 MB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.3614, allocations: 1.386 MB / 490.9 MB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.3628, allocations: 136 kB / 491 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.363, allocations: 64 kB / 491.1 MB, free: 440 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002382/0.3653, allocations: 0.9763 MB / 492 MB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002103/0.3674, allocations: 1.15 MB / 493.2 MB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003469/0.3709, allocations: 1.74 MB / 494.9 MB, free: 12.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.486e-06/0.3709, allocations: 7.938 kB / 494.9 MB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004648/0.3756, allocations: 2.064 MB / 497 MB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.3756, allocations: 18.44 kB / 497 MB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.3756, allocations: 16 kB / 497 MB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.3757, allocations: 44.84 kB / 497.1 MB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.3774, allocations: 395.4 kB / 497.5 MB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.3786, allocations: 1.379 MB / 498.8 MB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.3799, allocations: 127.8 kB / 499 MB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.38, allocations: 68 kB / 499 MB, free: 7.867 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 (kinematicPTP.noWphase,kinematicPTP.moving[1],speedController.integrator.local_reset,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 (196): * Single equations (assignments): 195 * 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.0004254/0.3804, allocations: 275.2 kB / 499.3 MB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.3807, allocations: 167 kB / 499.5 MB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/0.3845, allocations: 1.577 MB / 0.4893 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.3845, allocations: 12 kB / 0.4893 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3845, allocations: 0 / 0.4893 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3845, allocations: 7.969 kB / 0.4893 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007254/0.3918, allocations: 3.738 MB / 0.493 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.3918, allocations: 15.98 kB / 0.493 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.393, allocations: 251.6 kB / 0.4932 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-05/0.3931, allocations: 37.19 kB / 0.4933 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/0.3931, allocations: 35.94 kB / 0.4933 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.3942, allocations: 1.368 MB / 0.4946 GB, free: 0 / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.703e-05/0.3942, allocations: 16.05 kB / 0.4946 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/0.3986, allocations: 2.227 MB / 0.4968 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.399, allocations: 312 kB / 0.4971 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.3992, allocations: 35.98 kB / 0.4972 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/0.4001, allocations: 99.89 kB / 0.4972 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.4003, allocations: 124.2 kB / 0.4974 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.663e-05/0.4004, allocations: 43.98 kB / 0.4974 GB, free: 12.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.4016, allocations: 0.8058 MB / 0.4982 GB, free: 12.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4016, allocations: 0 / 0.4982 GB, free: 12.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001855/0.4034, allocations: 0.6016 MB / 0.4988 GB, free: 11.56 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 11 (loadInertia.w,speedSensor.flange.phi,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,speedController.integrator.y) * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 108 * 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.0002169/0.4036, allocations: 154.8 kB / 0.4989 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005861/0.4095, allocations: 2.588 MB / 0.5015 GB, free: 8.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.4095, allocations: 8.062 kB / 0.5015 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.411, allocations: 0.6832 MB / 0.5021 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.4126, allocations: 368.2 kB / 0.5025 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/0.4188, allocations: 3.575 MB / 0.506 GB, free: 4.012 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.4198, allocations: 1.337 MB / 0.5073 GB, free: 2.645 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001265/0.4211, allocations: 300.2 kB / 0.5076 GB, free: 2.348 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.4215, allocations: 103.4 kB / 0.5077 GB, free: 2.246 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4215, allocations: 0 / 0.5077 GB, free: 2.246 MB / 430.1 MB Notification: Performance of Templates: time 0.03438/0.4559, allocations: 18.38 MB / 0.5256 GB, free: 36 kB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/ControlledDCDrives/PositionControlledDCPM/PositionControlledDCPM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,armatureInverter.iDCFilter.y,armatureInverter.iMotFilter.y,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.powerController.y,armatureInverter.vDCFilter.y,armatureInverter.vMotFilter.y,currentController.integrator.y,dcpm.la.i,loadInertia.phi,loadInertia.w,speedController.integrator.y 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.iDCFilter.T,armatureInverter.iDCFilter.initType,armatureInverter.iDCFilter.k,armatureInverter.iDCFilter.y,armatureInverter.iDCFilter.y_start,armatureInverter.iMotFilter.T,armatureInverter.iMotFilter.initType,armatureInverter.iMotFilter.k,armatureInverter.iMotFilter.y,armatureInverter.iMotFilter.y_start,armatureInverter.idealDcDc.Td,armatureInverter.idealDcDc.Ti,armatureInverter.idealDcDc.deadTime.T,armatureInverter.idealDcDc.deadTime.initType,armatureInverter.idealDcDc.deadTime.k,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.deadTime.y_start,armatureInverter.idealDcDc.powerController.initType,armatureInverter.idealDcDc.powerController.k,armatureInverter.idealDcDc.powerController.y,armatureInverter.idealDcDc.powerController.y_start,armatureInverter.useIdealInverter,armatureInverter.vDCFilter.T,armatureInverter.vDCFilter.initType,armatureInverter.vDCFilter.k,armatureInverter.vDCFilter.y,armatureInverter.vDCFilter.y_start,armatureInverter.vMotFilter.T,armatureInverter.vMotFilter.initType,armatureInverter.vMotFilter.k,armatureInverter.vMotFilter.y,armatureInverter.vMotFilter.y_start,armatureInverter.variableLimiter.homotopyType,armatureInverter.variableLimiter.strict,armatureInverter.variableLimiter.ySimplified,constantVoltage.V,constantVoltage.p.v,constantVoltage.v,currentController.KFF,currentController.Ti,currentController.add3.k1,currentController.add3.k2,currentController.add3.k3,currentController.addAntiWindup.k1,currentController.addAntiWindup.k2,currentController.constantKFF.k,currentController.constantLimits,currentController.gain.k,currentController.initType,currentController.integrator.initType,currentController.integrator.k,currentController.integrator.y,currentController.integrator.y_start,currentController.k,currentController.symmetricLimits,currentController.useConstantKFF,currentController.useFF,currentController.useI,currentController.variableLimiter.homotopyType,currentController.variableLimiter.strict,currentController.variableLimiter.ySimplified,currentController.x_start,currentController.yMax,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.ViNominal,dcpm.airGapDC.Le,dcpm.airGapDC.ie,dcpm.airGapDC.pin_en.i,dcpm.airGapDC.pin_ep.i,dcpm.airGapDC.psi_e,dcpm.airGapDC.quasiStatic,dcpm.airGapDC.support.phi,dcpm.airGapDC.turnsRatio,dcpm.alpha20a,dcpm.brush.brushParameters.ILinear,dcpm.brush.brushParameters.V,dcpm.brushParameters.ILinear,dcpm.brushParameters.V,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.coreParameters.GcRef,dcpm.coreParameters.PRef,dcpm.coreParameters.VRef,dcpm.coreParameters.m,dcpm.coreParameters.ratioHysteresis,dcpm.coreParameters.wMin,dcpm.coreParameters.wRef,dcpm.fixed.flange.phi,dcpm.fixed.phi0,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.support.phi,dcpm.frictionParameters.PRef,dcpm.frictionParameters.linear,dcpm.frictionParameters.power_w,dcpm.frictionParameters.tauLinear,dcpm.frictionParameters.tauRef,dcpm.frictionParameters.wLinear,dcpm.frictionParameters.wRef,dcpm.ie.I,dcpm.ie.i,dcpm.ie.n.i,dcpm.ie.p.i,dcpm.inertiaRotor.J,dcpm.inertiaStator.J,dcpm.inertiaStator.flange_a.phi,dcpm.inertiaStator.flange_b.phi,dcpm.inertiaStator.phi,dcpm.internalSupport.phi,dcpm.la.L,dcpm.la.i,dcpm.la.quasiStatic,dcpm.psi_eNominal,dcpm.ra.R,dcpm.ra.T,dcpm.ra.T_ref,dcpm.ra.alpha,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.strayLoadParameters.IRef,dcpm.strayLoadParameters.PRef,dcpm.strayLoadParameters.power_w,dcpm.strayLoadParameters.tauRef,dcpm.strayLoadParameters.wRef,dcpm.thermalAmbient.Ta,dcpm.thermalAmbient.Tpm,dcpm.thermalAmbient.constTa.k,dcpm.thermalAmbient.constTpm.k,dcpm.thermalAmbient.temperatureBrush.T,dcpm.thermalAmbient.temperatureCore.T,dcpm.thermalAmbient.temperatureFriction.T,dcpm.thermalAmbient.temperatureStrayLoad.T,dcpm.thermalAmbient.useTemperatureInputs,dcpm.turnsRatio,dcpm.useSupport,dcpm.useThermalPort,dcpm.wNominal,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,kinematicPTP.nout,kinematicPTP.p_deltaq[1],kinematicPTP.p_q_begin[1],kinematicPTP.p_q_end[1],kinematicPTP.p_qd_max[1],kinematicPTP.p_qdd_max[1],kinematicPTP.q_begin[1],kinematicPTP.q_end[1],kinematicPTP.qd_max[1],kinematicPTP.qdd_max[1],kinematicPTP.startTime,loadInertia.J,loadInertia.phi,loadInertia.w,loadTorque.offsetTorque,loadTorque.startTime,loadTorque.stepTorque,positionController.KFF,positionController.Ti,positionController.add3.k1,positionController.add3.k2,positionController.add3.k3,positionController.add3.u2,positionController.addAntiWindup.k1,positionController.addAntiWindup.k2,positionController.constantKFF.k,positionController.constantKFF.y,positionController.constantLimits,positionController.gain.k,positionController.initType,positionController.k,positionController.product.u1,positionController.product.u2,positionController.symmetricLimits,positionController.useConstantKFF,positionController.useFF,positionController.useI,positionController.variableLimiter.homotopyType,positionController.variableLimiter.strict,positionController.variableLimiter.ySimplified,positionController.x_start,positionController.yMax,positionController.yMaxConst.k,positionController.yMin,positionController.y_start,positionController.zeroFF.k,positionController.zeroFF.y,positionController.zeroI.k,positionController.zeroI.y,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.p.v,speedController.KFF,speedController.Ti,speedController.add3.k1,speedController.add3.k2,speedController.add3.k3,speedController.addAntiWindup.k1,speedController.addAntiWindup.k2,speedController.constantKFF.k,speedController.constantKFF.y,speedController.constantLimits,speedController.gain.k,speedController.initType,speedController.integrator.initType,speedController.integrator.k,speedController.integrator.y,speedController.integrator.y_start,speedController.k,speedController.product.u1,speedController.product.u2,speedController.symmetricLimits,speedController.useConstantKFF,speedController.useFF,speedController.useI,speedController.variableLimiter.homotopyType,speedController.variableLimiter.strict,speedController.variableLimiter.ySimplified,speedController.x_start,speedController.yMax,speedController.yMaxConst.k,speedController.yMin,speedController.y_start,speedController.zeroFF.k,speedController.zeroFF.y,speedSensor.flange.phi,tau2i.k,time