Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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 trunk/package.mo): time 0.0003298/0.0003298, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0002441/0.0002441, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.1608/0.1608, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.01752/0.01752, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: simulate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_YDarc,startTime=0,stopTime=2.07,tolerance=1e-06,numberOfIntervals=20700,outputFormat="empty",variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_YDarc",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_YDarc,startTime=0,stopTime=2.07,tolerance=1e-06,numberOfIntervals=20700,outputFormat="empty",variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_YDarc",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.987e-05/4.163e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_YDarc): time 0.009724/0.009766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006033/0.0158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.01682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001464/0.01828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002124/0.02041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.02115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002092/0.02324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.02474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.02709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.0286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003386/0.02894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.02944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0009089/0.03035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001165/0.03151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003366/0.03488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0004075/0.03528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.416e-06/0.03529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.617e-05/0.03532, 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: 748 * Number of variables: 748 Notification: Performance of Generate backend data structure: time 0.004496/0.03982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001446/0.03997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000821/0.04079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.04255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/0.04284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/0.04319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/0.04656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-05/0.04661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002661/0.04688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.04698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.04854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007985/0.05652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.05782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0007972/0.05862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.05876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.05976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=192): time 1.237e-05/0.05978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=209): time 0.007627/0.0674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.06747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.06864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.06887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0006392/0.06951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.06984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004668/0.0703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.831e-05/0.07033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.07074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/0.07135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.0724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.07241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=294) (initialization): time 0.002193/0.0746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.07463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.07464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.07589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009452/0.07683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006255/0.08309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.08423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.0844, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 60 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYDwithArc.logicalDelay[3].tSwitch,$PRE.switchYDwithArc.logicalDelay[3].tSwitch,switchYDwithArc.logicalDelay[2].tSwitch,$PRE.switchYDwithArc.logicalDelay[2].tSwitch,switchYDwithArc.logicalDelay[1].tSwitch,$PRE.switchYDwithArc.logicalDelay[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].quenched,switchYDwithArc.idealOpener.openerWithArc[3].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,switchYDwithArc.idealOpener.openerWithArc[2].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[2].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[1].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealOpener.openerWithArc[1].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,switchYDwithArc.idealCloser.closerWithArc[3].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[3].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,switchYDwithArc.idealCloser.closerWithArc[2].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[2].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,switchYDwithArc.idealCloser.closerWithArc[1].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[1].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].off,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,14,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001215/0.08561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.08589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.08795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.08796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.08797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.08798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.09244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.09245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.09293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.09428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.09441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005727/0.1001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.1026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0005588/0.1031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005161/0.1036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.1041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007143/0.1048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006458/0.1056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 7.629e-05/0.1057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001701/0.1074, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 39 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYDwithArc.idealCloser.closerWithArc[1].off,switchYDwithArc.idealCloser.closerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[3].quenched,switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,switchYDwithArc.logicalDelay[1].tSwitch,switchYDwithArc.logicalDelay[2].tSwitch,switchYDwithArc.logicalDelay[3].tSwitch) * Number of discrete states: 12 (switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[1].quenched,switchYDwithArc.idealOpener.openerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (3,13,77.8%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001025/0.1084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002031/0.1104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001382/0.1118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.1136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/0.1194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.1203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0007288/0.121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009995/0.122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.499e-05/0.1221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.009406/0.1315, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 895] [Calling sys.exit(0), Time elapsed: 5.76243544742465]