Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002264/0.0002264, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0001756/0.0001756, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1037/0.1037, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.007191/0.007191, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.791e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning): time 0.00947/0.009488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00359/0.01308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004223/0.0135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0008399/0.01434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001051/0.01539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.01605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001061/0.01711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0005267/0.01764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.01876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.0193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.01942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.01964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000253/0.01989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.02033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00111/0.02144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001398/0.02158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.445e-06/0.02158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.254e-05/0.02159, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.001836/0.02343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.591e-05/0.02353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.02387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008367/0.02471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.02484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.02499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.02599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.02603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/0.02612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.02614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.02658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003041/0.02962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.02994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.03011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.03013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.03055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=66): time 4.949e-06/0.03055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=71): time 0.002745/0.0333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.03337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.03381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.03387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.03412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.03427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.03446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 5.131e-05/0.03451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.03463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.03484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.03541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.03543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=148) (initialization): time 0.0007497/0.03618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.03622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.03624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.03627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.03678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.805e-05/0.03682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.03724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.0373, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 20 variables: noiseGen.U:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.nOx:DISCRETE(fixed = true protected = true ) type: Integer ATPIdigital.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.Pox:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.wox:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.period:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.UP:DISCRETE(fixed = true protected = true ) type: Boolean ATPIdigital.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real M1.la.i:VARIABLE(start = 0.0 unit = \"A\" fixed = true ) \"Current flowing from pin p to pin n\" type: Real J1.phi_rel:VARIABLE(start = 0.0 unit = \"rad\" fixed = true nominal = if J1.phi_nominal >= 2.220446049250313e-16 then J1.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) \"Relative rotation angle (= flange_b.phi - flange_a.phi)\" type: Real J1.w_rel:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"Relative angular velocity (= der(phi_rel))\" type: Real noiseGen.y:DISCRETE(flow=false fixed = true ) \"output\" type: Real L1.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real L1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real ATPIdigital.CSat:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.iMode:DISCRETE(fixed = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.noiseGen.U,noiseGen.U,$PRE.ATPIdigital.nOx,ATPIdigital.nOx,$PRE.ATPIdigital.lastToggleUp,ATPIdigital.lastToggleUp,$PRE.ATPIdigital.rCSmin,ATPIdigital.rCSmin,$PRE.ATPIdigital.rCSmax,ATPIdigital.rCSmax,$PRE.ATPIdigital.rPVmin,ATPIdigital.rPVmin,$PRE.ATPIdigital.rPVmax,ATPIdigital.rPVmax,$PRE.ATPIdigital.Pox,ATPIdigital.Pox,$PRE.ATPIdigital.wox,ATPIdigital.wox,$PRE.ATPIdigital.period,ATPIdigital.period,$PRE.ATPIdigital.UP,ATPIdigital.UP,noiseGen.X,$PRE.noiseGen.X,$whenCondition5,ATPIdigital.TS_in,$PRE.noiseGen.y,$PRE.ATPIdigital.AT,$PRE.ATPIdigital.CSat,$PRE.ATPIdigital.TI,$PRE.ATPIdigital.K,$PRE.ATPIdigital.iMode,noiseGen.y,ATPIdigital.AT,ATPIdigital.CSat,ATPIdigital.TI,ATPIdigital.K,ATPIdigital.iMode,ATPIdigital.at_req,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition6,noiseGen.Yfp,noiseGen.Ufp[1],ATPIdigital.satLOW_in,ATPIdigital.satHIGH_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003867/0.03769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.03781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006389/0.03845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.03845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.03846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.03847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.0398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.0398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.04006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.04007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.04012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.04013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.04013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.04097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.04121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.04149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.0418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.04192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.04198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0002297/0.04221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.943e-05/0.04223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0009678/0.0432, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (ATPIdigital.linFBout,M1.la.i,J1.phi_rel,J1.w_rel,L1.phi,L1.w) * Number of discrete variables: 25 ($whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,ATPIdigital.at_req,ATPIdigital.iMode,ATPIdigital.K,ATPIdigital.TI,ATPIdigital.CSat,ATPIdigital.AT,ATPIdigital.UP,ATPIdigital.rPVmax,ATPIdigital.rPVmin,ATPIdigital.rCSmax,ATPIdigital.rCSmin,ATPIdigital.lastToggleUp,ATPIdigital.period,ATPIdigital.wox,ATPIdigital.Pox,ATPIdigital.nOx,noiseGen.y,noiseGen.X,noiseGen.U) * Number of discrete states: 25 (noiseGen.y,noiseGen.U,$whenCondition5,noiseGen.X,$whenCondition4,$whenCondition3,ATPIdigital.nOx,ATPIdigital.lastToggleUp,ATPIdigital.rCSmin,ATPIdigital.rCSmax,ATPIdigital.rPVmin,ATPIdigital.rPVmax,ATPIdigital.Pox,ATPIdigital.wox,ATPIdigital.period,ATPIdigital.UP,ATPIdigital.CSat,$whenCondition2,ATPIdigital.iMode,$whenCondition1,ATPIdigital.AT,ATPIdigital.TI,ATPIdigital.K,ATPIdigital.CSpi,ATPIdigital.PV) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004394/0.04363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006788/0.04431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.04432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.04465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008902/0.04554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.04785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.04803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002576/0.04829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.04882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.568e-05/0.04886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00266/0.05152, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.6937282527796924]