Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.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.0002755/0.0002755, 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.0002332/0.0002332, 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.1088/0.1088, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive,startTime=0,stopTime=1.5,tolerance=1e-06,numberOfIntervals=30000,outputFormat="mat",variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|capacitor.v|inductor.inductor.[0-9,]+..i|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive,startTime=0,stopTime=1.5,tolerance=1e-06,numberOfIntervals=30000,outputFormat="mat",variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|capacitor.v|inductor.inductor.[0-9,]+..i|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive",simflags="-abortSlowSimulation -alarm=240 -emit_protected -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.402e-05/1.516e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive): time 0.01667/0.01668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00819/0.02487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.02605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.002295/0.02834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.003097/0.03144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.03283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.004156/0.03699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.003/0.03999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.005211/0.0452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.04822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0005532/0.04878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0007328/0.04951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001617/0.05113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001911/0.05304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.005136/0.05817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0007025/0.05888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.637e-06/0.05888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.139e-05/0.05891, 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: 1067 * Number of variables: 1067 Notification: Performance of Generate backend data structure: time 0.007771/0.06668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002551/0.06694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.06826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003581/0.07184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005163/0.07236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006473/0.073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.005418/0.07842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.3e-05/0.07852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004452/0.07896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/0.07915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.08207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.09702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.09959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.1012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.1013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/0.103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=290): time 1.79e-05/0.103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=313): time 0.02677/0.1297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.1298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.1315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003355/0.1318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0009462/0.1328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0008097/0.1336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009306/0.1345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.684e-05/0.1345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008349/0.1354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009532/0.1363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.1385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-05/0.1385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=382) (initialization): time 0.003431/0.1419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.1444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.1456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.1573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.1589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003507/0.1592, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 52 (pwm.svPWM.firstTrigger,$PRE.pwm.svPWM.firstTrigger,pwm.svPWM.phiSec,$PRE.pwm.svPWM.phiSec,pwm.svPWM.phiPos,$PRE.pwm.svPWM.phiPos,pwm.svPWM.phiRef,$PRE.pwm.svPWM.phiRef,pwm.svPWM.uRef,$PRE.pwm.svPWM.uRef,pwm.svPWM.sampleTrigger,$whenCondition1,$whenCondition2,pwm.svPWM.T0,$PRE.pwm.svPWM.T0,pwm.svPWM.t0,$PRE.pwm.svPWM.t0,pwm.svPWM.tb,$PRE.pwm.svPWM.tb,pwm.svPWM.ta,$PRE.pwm.svPWM.ta,pwm.svPWM.kb,$PRE.pwm.svPWM.kb,pwm.svPWM.ka,$PRE.pwm.svPWM.ka,pwm.fire_n[3],pwm.fire_n[2],pwm.fire_n[1],inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(22,105)} Notification: Performance of prepare postOptimizeDAE: time 0.001556/0.1608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/0.1613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/0.165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/0.1651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.1651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/0.1651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008208/0.1733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/0.1733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009239/0.1743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/0.1771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/0.1774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/0.1893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.1893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.1939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.1951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/0.1961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.1974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/0.1987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003401/0.199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001206/0.2002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0001231/0.2003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003525/0.2039, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 11 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor.v,aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadTorque.phi,vfController.x) * Number of discrete variables: 41 (pwm.svPWM.sampleTrigger,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,pwm.fire_n[1],pwm.fire_n[2],pwm.fire_n[3],pwm.svPWM.firstTrigger,pwm.svPWM.uRef,pwm.svPWM.phiRef,pwm.svPWM.phiPos,pwm.svPWM.ka,pwm.svPWM.kb,pwm.svPWM.phiSec,pwm.svPWM.ta,pwm.svPWM.tb,pwm.svPWM.t0,pwm.svPWM.T0) * Number of discrete states: 11 (pwm.svPWM.T0,pwm.svPWM.t0,pwm.svPWM.ta,pwm.svPWM.tb,pwm.svPWM.phiSec,pwm.svPWM.kb,pwm.svPWM.ka,pwm.svPWM.phiPos,pwm.svPWM.phiRef,pwm.svPWM.uRef,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(22,105)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001565/0.2054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004828/0.2102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.003583/0.2138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/0.2173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.2299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.2319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001223/0.2331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/0.2356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001229/0.2357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01526/0.2509, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 832] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_InverterDrive/IMC_InverterDrive.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 69.69011087017134]