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.0003277/0.0003277, 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.0002771/0.0002771, 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.1661/0.1661, 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.01237/0.01237, 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.824e-06/1.824e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.139e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning): time 0.006382/0.006404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003237/0.00964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.0102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.01089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0009042/0.01179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.01233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0008441/0.01318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.01354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008096/0.01435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.01468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.216e-05/0.01478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.01495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.0151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.01539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0009848/0.01637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.000101/0.01647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.535e-06/0.01648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.336e-05/0.01649, 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.001531/0.01802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.445e-05/0.01809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.01835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.01893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-05/0.01903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/0.01913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/0.01993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.01995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/0.02002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.02004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.02038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.02261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.02286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.02299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.02301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003394/0.02335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=66): time 4.308e-06/0.02335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=71): time 0.002162/0.02552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.02558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.02602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.02608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.02628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.02639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.02654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.875e-05/0.02659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.02668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.0269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.02736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.02736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=148) (initialization): time 0.0005894/0.02795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.02798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.02799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.02802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.02843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.02845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.02871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.02875, 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.0003694/0.02912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.0292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.02967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.02968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.02968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.02968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000978/0.03066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.03067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.03088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.03088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.03093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.03094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.03094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.03154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.03171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.03189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.03209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 9.361e-05/0.03218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.03222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.000203/0.03242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.151e-05/0.03243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.000526/0.03296, 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.0003497/0.03331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0005408/0.03385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.821e-05/0.03387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.03408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.03467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.03625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.03636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002171/0.03658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.03693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.527e-05/0.03695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002227/0.03918, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.7857451736927032]