Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009664/0.0009664, allocations: 75.69 kB / 21.7 MB, free: 2.84 MB / 18.57 MB " [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.001142/0.001142, allocations: 165.9 kB / 25 MB, free: 8.23 MB / 18.57 MB " [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 1.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] 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.2631/0.2631, allocations: 34.87 MB / 296.6 MB, free: 440 kB / 266.7 MB " [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: translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=19000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=19000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 378.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.941e-05, allocations: 7.375 kB / 378.9 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive): time 0.01282/0.01284, allocations: 14.73 MB / 393.6 MB, free: 3.469 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00756/0.0204, allocations: 4.597 MB / 398.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.02159, allocations: 131.1 kB / 398.3 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.02306, allocations: 0.9663 MB / 399.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.02509, allocations: 1.502 MB / 400.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.0262, allocations: 0.7565 MB / 401.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003757/0.02995, allocations: 5.981 MB / 407.5 MB, free: 5.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002249/0.0322, allocations: 2.341 MB / 409.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003796/0.036, allocations: 4.347 MB / 414.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/0.03885, allocations: 2.88 MB / 417.1 MB, free: 11.81 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000819/0.03967, allocations: 0.6406 MB / 417.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009139/0.04059, allocations: 0.7303 MB / 418.5 MB, free: 10.44 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.04179, allocations: 1.936 MB / 420.4 MB, free: 8.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002663/0.04445, allocations: 2.019 MB / 422.4 MB, free: 6.477 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.04801, allocations: 4.961 MB / 427.4 MB, free: 1.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.04801, allocations: 0 / 427.4 MB, free: 1.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.04801, allocations: 0 / 427.4 MB, free: 1.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.525e-05/0.04806, allocations: 0 / 427.4 MB, free: 1.5 MB / 394.7 MB 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.006225/0.05429, allocations: 6.091 MB / 433.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.05432, allocations: 8.031 kB / 433.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.05551, allocations: 0.966 MB / 434.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004358/0.05987, allocations: 3.001 MB / 437.4 MB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004637/0.06033, allocations: 0.5764 MB / 438 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000489/0.06082, allocations: 412 kB / 438.4 MB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00545/0.06627, allocations: 3.663 MB / 442.1 MB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.831e-05/0.06635, allocations: 7.938 kB / 442.1 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.06662, allocations: 168 kB / 442.3 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.06676, allocations: 195.9 kB / 442.5 MB, free: 2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004127/0.07088, allocations: 1.883 MB / 444.3 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1598/0.2307, allocations: 15.16 MB / 459.5 MB, free: 90.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.2333, allocations: 2.54 MB / 462 MB, free: 89.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.2349, allocations: 1.415 MB / 463.5 MB, free: 89.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.2352, allocations: 84.75 kB / 463.5 MB, free: 89.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.2366, allocations: 1.385 MB / 464.9 MB, free: 88.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=290): time 5.22e-06/0.2366, allocations: 0 / 464.9 MB, free: 88.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.0253/0.2619, allocations: 13.19 MB / 478.1 MB, free: 85.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.262, allocations: 256.5 kB / 478.4 MB, free: 85.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/0.2651, allocations: 2.268 MB / 480.6 MB, free: 84.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.2653, allocations: 83.48 kB / 480.7 MB, free: 84.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.2664, allocations: 1.959 MB / 482.7 MB, free: 83.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006961/0.2671, allocations: 1.081 MB / 483.8 MB, free: 82.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008187/0.2679, allocations: 0.6087 MB / 484.4 MB, free: 82.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.2679, allocations: 478.8 kB / 484.8 MB, free: 81.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.2691, allocations: 0.6063 MB / 485.4 MB, free: 81.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.2706, allocations: 1.4 MB / 486.8 MB, free: 80.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.2732, allocations: 2.053 MB / 488.9 MB, free: 79.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.2732, allocations: 4.125 kB / 488.9 MB, free: 79.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=382) (initialization): time 0.004649/0.2778, allocations: 2.816 MB / 491.7 MB, free: 78.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.2779, allocations: 36.36 kB / 491.7 MB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.2779, allocations: 12.19 kB / 491.8 MB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.2802, allocations: 0.982 MB / 492.7 MB, free: 78.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.2813, allocations: 470.9 kB / 493.2 MB, free: 78.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.2925, allocations: 10.57 MB / 0.492 GB, free: 69.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.2943, allocations: 271.5 kB / 0.4922 GB, free: 69.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/0.2946, allocations: 182.3 kB / 0.4924 GB, free: 69.29 MB / 410.7 MB 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.001089/0.2957, allocations: 396.8 kB / 0.4928 GB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005796/0.2962, allocations: 449.8 kB / 0.4932 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.2999, allocations: 2.854 MB / 0.496 GB, free: 65.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.2999, allocations: 15.94 kB / 0.496 GB, free: 65.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2999, allocations: 3.938 kB / 0.496 GB, free: 65.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009557/0.3009, allocations: 0.7195 MB / 0.4967 GB, free: 65.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/0.3012, allocations: 63.98 kB / 0.4968 GB, free: 65.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.3022, allocations: 251.8 kB / 0.497 GB, free: 64.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/0.3026, allocations: 281.9 kB / 0.4973 GB, free: 64.52 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005064/0.3077, allocations: 3.282 MB / 0.5005 GB, free: 61.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004069/0.3117, allocations: 3.429 MB / 0.5038 GB, free: 57.72 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009883/0.3127, allocations: 0.8206 MB / 0.5046 GB, free: 56.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.314, allocations: 1.257 MB / 0.5059 GB, free: 55.62 MB / 410.7 MB Notification: Performance of Backend: time 3.71e-07/0.314, allocations: 0 / 0.5059 GB, free: 55.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004314/0.3183, allocations: 3.047 MB / 0.5088 GB, free: 52.48 MB / 410.7 MB Notification: Performance of SimCode: time 0.01005/0.3283, allocations: 9.568 MB / 0.5182 GB, free: 42.86 MB / 410.7 MB Notification: Performance of Templates: time 0.07203/0.4003, allocations: 70.12 MB / 0.5867 GB, free: 5.281 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.484647162724286]