Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.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.0002007/0.0002007, 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.0002133/0.0002133, 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.1145/0.1145, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.01127/0.01127, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,startTime=0,stopTime=3,tolerance=1e-05,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,startTime=0,stopTime=3,tolerance=1e-05,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 6.91e-07/6.91e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 8.827e-06/9.518e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.01115/0.01116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01027/0.02143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.0219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.01064/0.03254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001784/0.03433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.03577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002982/0.03875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.04068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.04256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.0436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.04383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.0446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0006297/0.04523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005865/0.04582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002106/0.04792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002281/0.04815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.523e-06/0.04815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.063e-05/0.04816, 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.003153/0.05132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001094/0.05143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.05359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.05381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.05411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.05613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.654e-05/0.05619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.05638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002262/0.05661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/0.05748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005843/0.06333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.000866/0.06419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.06459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.06464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008548/0.06549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=100): time 1.336e-05/0.06551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=102): time 0.004219/0.06973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.0698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/0.07042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.00017/0.07059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.07094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.07127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004551/0.07172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0001223/0.07185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.07226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.07281, allocations: 0 / 0, free: 0 / 0 Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.07441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/0.07443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=162) (initialization): time 0.004475/0.07891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/0.07898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.07901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.003656/0.08266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.08316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.08501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/0.08558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.08576, allocations: 0 / 0, free: 0 / 0 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.asm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005688/0.08632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005437/0.08687, allocations: 0 / 0, free: 0 / 0 Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001588/0.08846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.331e-05/0.08848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.004349/0.09283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.0929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.09293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.00365/0.09658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.09707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.0989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.09947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.09963, allocations: 0 / 0, free: 0 / 0 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.asm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,$PRE.asm_ctrl.inverter.modulator.gates[1],$PRE.asm_ctrl.inverter.modulator.gates[2],$PRE.asm_ctrl.inverter.modulator.gates[3],$PRE.asm_ctrl.inverter.modulator.gates[4],$PRE.asm_ctrl.inverter.modulator.gates[5],$PRE.asm_ctrl.inverter.modulator.gates[6],$PRE.asm_ctrl.inverter.modulator.t0[3],$PRE.asm_ctrl.inverter.modulator.t0[2],$PRE.asm_ctrl.inverter.modulator.t0[1],$PRE.asm_ctrl.inverter.modulator.sigdel_t[3],$PRE.asm_ctrl.inverter.modulator.sigdel_t[2],$PRE.asm_ctrl.inverter.modulator.sigdel_t[1],asm_ctrl.inverter.modulator.t0[3],asm_ctrl.inverter.modulator.t0[2],asm_ctrl.inverter.modulator.t0[1],asm_ctrl.inverter.modulator.sigdel_t[3],asm_ctrl.inverter.modulator.sigdel_t[2],asm_ctrl.inverter.modulator.sigdel_t[1],asm_ctrl.inverter.modulator.gates[6],asm_ctrl.inverter.modulator.gates[5],asm_ctrl.inverter.modulator.gates[4],asm_ctrl.inverter.modulator.gates[3],asm_ctrl.inverter.modulator.gates[2],asm_ctrl.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,41)} Notification: Performance of prepare postOptimizeDAE: time 0.0004257/0.1001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.1003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.1021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/0.1021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.1022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.1053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.1053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.1059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0003125/0.1062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.1063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.11, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.1104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/0.1108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.1112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.1115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.1116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0002895/0.1119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.751e-05/0.1119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001737/0.1137, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 9 (asm_ctrl.motor.i[3],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.phiRotorflux,loadInertia.w,frictTorq.phi,PI_i_q.I.y) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,asm_ctrl.inverter.modulator.gates[1],asm_ctrl.inverter.modulator.gates[2],asm_ctrl.inverter.modulator.gates[3],asm_ctrl.inverter.modulator.gates[4],asm_ctrl.inverter.modulator.gates[5],asm_ctrl.inverter.modulator.gates[6],asm_ctrl.inverter.modulator.sigdel_t[1],asm_ctrl.inverter.modulator.sigdel_t[2],asm_ctrl.inverter.modulator.sigdel_t[3],asm_ctrl.inverter.modulator.t0[1],asm_ctrl.inverter.modulator.t0[2],asm_ctrl.inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (asm_ctrl.inverter.modulator.t0[3],asm_ctrl.inverter.modulator.sigdel_t[3],asm_ctrl.inverter.modulator.gates[5],asm_ctrl.inverter.modulator.gates[6],asm_ctrl.inverter.modulator.t0[2],asm_ctrl.inverter.modulator.sigdel_t[2],asm_ctrl.inverter.modulator.gates[3],asm_ctrl.inverter.modulator.gates[4],asm_ctrl.inverter.modulator.t0[1],asm_ctrl.inverter.modulator.sigdel_t[1],asm_ctrl.inverter.modulator.gates[1],asm_ctrl.inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0005165/0.1142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002662/0.1169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.1176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.1188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.1217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004319/0.1225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000593/0.1231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.892e-05/0.1231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004034/0.1272, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 896] [Calling sys.exit(0), Time elapsed: 4.683895993977785]