Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.0+maint.om/package.mo): time 0.0002935/0.0002935, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0002075/0.0002075, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.1071/0.1071, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: simulate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,startTime=0,stopTime=25,tolerance=1e-06,numberOfIntervals=25000,outputFormat="mat",variableFilter="time|imc.idq_rr.[0-9,]+.|loadInertia.phi|loadInertia.w|imc.idq_sr.[0-9,]+.|imc.is.[0-9,]+.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,startTime=0,stopTime=25,tolerance=1e-06,numberOfIntervals=25000,outputFormat="mat",variableFilter="time|imc.idq_rr.[0-9,]+.|loadInertia.phi|loadInertia.w|imc.idq_sr.[0-9,]+.|imc.is.[0-9,]+.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.328e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009627/0.00965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004708/0.01436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.0148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001465/0.01626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001404/0.01767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.01822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001457/0.01967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.02092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.02256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0009896/0.02355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.02373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.02406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.02461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0006561/0.02526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001715/0.02698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002374/0.02722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.124e-06/0.02722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.623e-05/0.02723, 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002731/0.02996, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001221/0.03009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.03063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.03185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.03197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.03219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.03387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.03391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.03406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-05/0.03415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008218/0.03497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00517/0.04014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/0.04083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.04122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.04134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.04137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=65): time 6.242e-06/0.04137, allocations: 0 / 0, free: 0 / 0 Warning: The linear system: 1 : imc.lssigma.i_[2] = 0.5773502691896257 * imc.is[2] + (-0.5773502691896255) * imc.is[3] 2 : imc.lssigma.i_[1] = 0.6666666666666666 * imc.is[1] + (-0.33333333333333315) * imc.is[2] + (-0.3333333333333336) * imc.is[3] 3 : imc.is[1] + (-constantCurrent.I) - imc.is[3] = 0.0 [ 0.5773502691896255 , 0.0 , -0.5773502691896257 ; 0.3333333333333336 , -0.6666666666666666 , 0.33333333333333315 ; -1.0 , 1.0 , 0.0 ] * [ imc.is[3] ; imc.is[1] ; imc.is[2] ] = [ -imc.lssigma.i_[2] ; -imc.lssigma.i_[1] ; constantCurrent.I ] might be structurally or numerically singular for variable imc.is[2] since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=85): time 0.005083/0.04646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.04649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005872/0.04707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.62e-05/0.04717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.04753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.04776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/0.04808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.828e-05/0.0481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.04834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.04864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/0.04929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.0493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=142) (initialization): time 0.001468/0.05077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.0508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.05081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.05182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.05235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.05573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.05619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.05628, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003443/0.05662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.05677, allocations: 0 / 0, free: 0 / 0 Warning: The linear system: 1 : imc.lssigma.i_[2] = 0.5773502691896257 * imc.is[2] + (-0.5773502691896255) * imc.is[3] 2 : imc.lssigma.i_[1] = 0.6666666666666666 * imc.is[1] + (-0.33333333333333315) * imc.is[2] + (-0.3333333333333336) * imc.is[3] 3 : imc.is[1] + (-constantCurrent.I) - imc.is[3] = 0.0 [ 0.5773502691896255 , 0.0 , -0.5773502691896257 ; 0.3333333333333336 , -0.6666666666666666 , 0.33333333333333315 ; -1.0 , 1.0 , 0.0 ] * [ imc.is[3] ; imc.is[1] ; imc.is[2] ] = [ -imc.lssigma.i_[2] ; -imc.lssigma.i_[1] ; constantCurrent.I ] might be structurally or numerically singular for variable imc.is[2] since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.05817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.05818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.05819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.0582, allocations: 0 / 0, free: 0 / 0 Warning: The linear system: 1 : imc.lssigma.i_[2] = 0.5773502691896257 * imc.is[2] + (-0.5773502691896255) * imc.is[3] 2 : imc.is[1] + (-constantCurrent.I) - imc.is[3] = 0.0 3 : imc.lssigma.i_[1] = 0.6666666666666666 * imc.is[1] + (-0.33333333333333315) * imc.is[2] + (-0.3333333333333336) * imc.is[3] [ -0.5773502691896257 , 0.0 , 0.5773502691896255 ; 0.0 , 1.0 , -1.0 ; 0.33333333333333315 , -0.6666666666666666 , 0.3333333333333336 ] * [ imc.is[2] ; imc.is[1] ; imc.is[3] ] = [ -imc.lssigma.i_[2] ; constantCurrent.I ; -imc.lssigma.i_[1] ] might be structurally or numerically singular for variable imc.is[3] since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/0.0611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.06111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.0614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.000933/0.06233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/0.0624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003275/0.06568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.06568, allocations: 0 / 0, free: 0 / 0 Warning: The linear system: 1 : imc.lssigma.i_[2] = 0.5773502691896257 * imc.is[2] + (-0.5773502691896255) * imc.is[3] 2 : imc.is[1] + (-constantCurrent.I) - imc.is[3] = 0.0 3 : imc.lssigma.i_[1] = 0.6666666666666666 * imc.is[1] + (-0.33333333333333315) * imc.is[2] + (-0.3333333333333336) * imc.is[3] [ -0.5773502691896257 , 0.0 , 0.5773502691896255 ; 0.0 , 1.0 , -1.0 ; 0.33333333333333315 , -0.6666666666666666 , 0.3333333333333336 ] * [ imc.is[2] ; imc.is[1] ; imc.is[3] ] = [ -imc.lssigma.i_[2] ; constantCurrent.I ; -imc.lssigma.i_[1] ] might be structurally or numerically singular for variable imc.is[3] since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.06714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.06745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/0.06777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.06813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.06835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.06842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.000337/0.06876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.184e-05/0.06879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001569/0.07036, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(6,17,69.4%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005338/0.07089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001407/0.0723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.0723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0009218/0.07322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.07487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.0782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.07866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000353/0.07901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006742/0.07969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.015e-05/0.07974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005201/0.08494, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.8523776419460773]