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.001307/0.001307, allocations: 111.5 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 214.8 kB / 19.41 MB, free: 3.664 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.409/1.409, allocations: 227.7 MB / 247.9 MB, free: 10.32 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.00186/0.00186, allocations: 63.91 kB / 359.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2487, allocations: 50.55 MB / 410.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM): time 0.01786/0.2665, allocations: 15.32 MB / 425.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.278, allocations: 5.75 MB / 431.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.2806, allocations: 75.62 kB / 431.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003019/0.2836, allocations: 1.013 MB / 432.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.2857, allocations: 0.6511 MB / 433 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.2872, allocations: 0.7411 MB / 433.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003299/0.2905, allocations: 2.699 MB / 436.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.2919, allocations: 0.8464 MB / 437.3 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.2934, allocations: 1.062 MB / 438.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.2946, allocations: 1.058 MB / 439.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000319/0.295, allocations: 256 kB / 439.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.2953, allocations: 256 kB / 439.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000464/0.2957, allocations: 0.5294 MB / 440.5 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.2968, allocations: 1.143 MB / 441.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.3001, allocations: 3.101 MB / 444.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3001, allocations: 0 / 444.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.959e-06/0.3001, allocations: 4 kB / 444.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.499e-05/0.3002, allocations: 0 / 444.7 MB, free: 14.8 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.004459/0.3046, allocations: 2.483 MB / 447.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3047, allocations: 12.03 kB / 447.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/0.305, allocations: 259.3 kB / 447.5 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.3071, allocations: 1.25 MB / 448.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002973/0.3074, allocations: 253.3 kB / 449 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/0.3077, allocations: 196.1 kB / 449.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/0.3113, allocations: 1.902 MB / 451.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/0.3114, allocations: 7.938 kB / 451.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.3115, allocations: 76 kB / 451.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.3116, allocations: 44 kB / 451.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003607/0.3152, allocations: 1.563 MB / 452.8 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.3254, allocations: 7.085 MB / 459.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.3282, allocations: 1.175 MB / 461 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.3293, allocations: 420.3 kB / 461.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.3293, allocations: 17 kB / 461.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.3294, allocations: 47.56 kB / 461.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 2.465e-06/0.3294, allocations: 3.938 kB / 461.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.03278/0.3622, allocations: 7.882 MB / 469.4 MB, free: 5.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.3622, allocations: 68.34 kB / 469.4 MB, free: 5.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.364, allocations: 1.22 MB / 470.7 MB, free: 4.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.3641, allocations: 45.7 kB / 470.7 MB, free: 4.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008305/0.365, allocations: 1.012 MB / 471.7 MB, free: 3.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/0.3653, allocations: 408.5 kB / 472.1 MB, free: 2.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/0.3658, allocations: 271.5 kB / 472.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3659, allocations: 305.1 kB / 472.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.3678, allocations: 0.7348 MB / 473.4 MB, free: 1.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.3701, allocations: 1.179 MB / 474.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.3741, allocations: 1.805 MB / 476.4 MB, free: 13.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.3741, allocations: 7.938 kB / 476.4 MB, free: 13.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005233/0.3794, allocations: 2.138 MB / 478.5 MB, free: 11.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.3794, allocations: 12.5 kB / 478.6 MB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.3794, allocations: 20 kB / 478.6 MB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.3796, allocations: 36.86 kB / 478.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.3814, allocations: 415.3 kB / 479 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.3826, allocations: 1.386 MB / 480.4 MB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.384, allocations: 139.9 kB / 480.5 MB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.3841, allocations: 64 kB / 480.6 MB, free: 9.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002414/0.3866, allocations: 0.9802 MB / 481.6 MB, free: 8.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002181/0.3887, allocations: 1.15 MB / 482.7 MB, free: 7.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003757/0.3925, allocations: 1.736 MB / 484.5 MB, free: 5.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.608e-06/0.3925, allocations: 4 kB / 484.5 MB, free: 5.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004789/0.3973, allocations: 2.064 MB / 486.5 MB, free: 3.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.3973, allocations: 15.94 kB / 486.5 MB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.3973, allocations: 16 kB / 486.6 MB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/0.3974, allocations: 40.84 kB / 486.6 MB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.3991, allocations: 403.6 kB / 487 MB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.4002, allocations: 1.371 MB / 488.4 MB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.4015, allocations: 123.8 kB / 488.5 MB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.4016, allocations: 67.94 kB / 488.6 MB, free: 1.016 MB / 398.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.0004031/0.402, allocations: 284.5 kB / 488.8 MB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.4023, allocations: 163 kB / 489 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.4064, allocations: 1.574 MB / 490.6 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4064, allocations: 11.94 kB / 490.6 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4064, allocations: 4 kB / 490.6 MB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.4064, allocations: 3.984 kB / 490.6 MB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007567/0.414, allocations: 3.734 MB / 494.3 MB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.414, allocations: 8 kB / 494.3 MB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.4152, allocations: 268.1 kB / 494.6 MB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.4153, allocations: 32.86 kB / 494.6 MB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/0.4154, allocations: 31.98 kB / 494.7 MB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.4165, allocations: 1.372 MB / 496 MB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.4165, allocations: 15.94 kB / 496 MB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004747/0.4212, allocations: 2.224 MB / 498.3 MB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/0.4218, allocations: 311.9 kB / 498.6 MB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.422, allocations: 36 kB / 498.6 MB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009348/0.4229, allocations: 107.9 kB / 498.7 MB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.4232, allocations: 128.1 kB / 498.8 MB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/0.4232, allocations: 36 kB / 498.9 MB, free: 6.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001236/0.4245, allocations: 0.802 MB / 499.7 MB, free: 5.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4245, allocations: 112 / 499.7 MB, free: 5.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001865/0.4263, allocations: 0.6053 MB / 0.4886 GB, free: 4.707 MB / 414.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.0002367/0.4266, allocations: 154.9 kB / 0.4887 GB, free: 4.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006281/0.4329, allocations: 2.595 MB / 0.4912 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.4329, allocations: 0 / 0.4912 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.4346, allocations: 0.6874 MB / 0.4919 GB, free: 1.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.4364, allocations: 370.4 kB / 0.4923 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/0.4429, allocations: 3.568 MB / 0.4957 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.444, allocations: 1.333 MB / 0.497 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001387/0.4454, allocations: 296.2 kB / 0.4973 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.4458, allocations: 107.4 kB / 0.4974 GB, free: 11.39 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4458, allocations: 0 / 0.4974 GB, free: 11.39 MB / 430.1 MB Notification: Performance of Templates: time 0.03602/0.4818, allocations: 18.27 MB / 0.5153 GB, free: 9.301 MB / 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/ControlledDCDrives/PositionControlledDCPM/PositionControlledDCPM.csv","/var/lib/jenkins1/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