Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [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.002139/0.002139, allocations: 210.8 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [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 1.531/1.531, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|capacitor.v|inductor.inductor.2..i|inductor.inductor.3..i|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|capacitor.v|inductor.inductor.2..i|inductor.inductor.3..i|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2221, allocations: 53.37 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive): time 0.01636/0.2385, allocations: 12.94 MB / 445.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009402/0.2479, allocations: 4.444 MB / 449.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.2502, allocations: 127.1 kB / 449.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.2525, allocations: 0.9623 MB / 450.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.256, allocations: 1.437 MB / 452.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2575, allocations: 0.7411 MB / 453 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006337/0.2639, allocations: 5.73 MB / 458.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003399/0.2673, allocations: 2.399 MB / 461.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/0.271, allocations: 2.687 MB / 463.8 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005015/0.276, allocations: 3.231 MB / 467.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.2773, allocations: 0.6562 MB / 467.7 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.279, allocations: 0.7537 MB / 468.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001885/0.2809, allocations: 1.928 MB / 470.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003177/0.284, allocations: 2.404 MB / 472.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009344/0.2934, allocations: 8.892 MB / 481.7 MB, free: 5.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2934, allocations: 4 kB / 481.7 MB, free: 5.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2934, allocations: 0 / 481.7 MB, free: 5.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001646/0.2935, allocations: 0 / 481.7 MB, free: 5.148 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1064 * Number of variables: 1064 Notification: Performance of Generate backend data structure: time 0.01409/0.3076, allocations: 6.017 MB / 487.7 MB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3077, allocations: 8.031 kB / 487.7 MB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.3094, allocations: 0.6224 MB / 488.3 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006866/0.3163, allocations: 3.158 MB / 491.5 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009108/0.3172, allocations: 0.6147 MB / 492.1 MB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000737/0.3179, allocations: 396 kB / 492.5 MB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.3316, allocations: 6.609 MB / 499.1 MB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.3317, allocations: 11.89 kB / 499.1 MB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004474/0.3322, allocations: 172 kB / 499.3 MB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.3324, allocations: 187.9 kB / 499.5 MB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01594/0.3483, allocations: 6.227 MB / 0.4939 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03175/0.3801, allocations: 16.24 MB / 0.5097 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008626/0.3887, allocations: 4.344 MB / 0.514 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006737/0.3954, allocations: 2.977 MB / 0.5169 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.3957, allocations: 58.17 kB / 0.5169 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006007/0.4017, allocations: 2.71 MB / 0.5196 GB, free: 1.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=290): time 5.931e-06/0.4017, allocations: 0 / 0.5196 GB, free: 1.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=313): time 0.2537/0.6555, allocations: 21.87 MB / 0.5409 GB, free: 99.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.6555, allocations: 258.9 kB / 0.5412 GB, free: 99.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/0.6593, allocations: 2.657 MB / 0.5438 GB, free: 98.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003553/0.6596, allocations: 84.09 kB / 0.5438 GB, free: 98.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.6608, allocations: 1.864 MB / 0.5457 GB, free: 96.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006932/0.6615, allocations: 1.052 MB / 0.5467 GB, free: 96.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009584/0.6625, allocations: 0.5809 MB / 0.5473 GB, free: 96.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.6625, allocations: 304.9 kB / 0.5476 GB, free: 95.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004738/0.6672, allocations: 2.182 MB / 0.5497 GB, free: 95.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004882/0.6721, allocations: 2.8 MB / 0.5524 GB, free: 93.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009324/0.6814, allocations: 4.818 MB / 0.5571 GB, free: 90.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.6815, allocations: 4 kB / 0.5571 GB, free: 90.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=382) (initialization): time 0.0121/0.6936, allocations: 6.246 MB / 0.5632 GB, free: 84.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.6936, allocations: 33.7 kB / 0.5633 GB, free: 84.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.6936, allocations: 15.61 kB / 0.5633 GB, free: 84.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003838/0.6975, allocations: 1.874 MB / 0.5651 GB, free: 82.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.6994, allocations: 491.2 kB / 0.5656 GB, free: 82.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.7186, allocations: 17.34 MB / 0.5825 GB, free: 64.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/0.7223, allocations: 363.6 kB / 0.5828 GB, free: 64.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/0.7226, allocations: 181.7 kB / 0.583 GB, free: 64.02 MB / 446.1 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 (264): * Single equations (assignments): 259 * 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 {(23,93)} Notification: Performance of prepare postOptimizeDAE: time 0.00222/0.7248, allocations: 1.54 MB / 0.5845 GB, free: 62.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006258/0.7254, allocations: 341.8 kB / 0.5849 GB, free: 62.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.7375, allocations: 6.362 MB / 0.5911 GB, free: 55.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.7375, allocations: 15.94 kB / 0.5911 GB, free: 55.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.7375, allocations: 0 / 0.5911 GB, free: 55.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/0.7396, allocations: 0.8052 MB / 0.5919 GB, free: 54.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004987/0.7401, allocations: 71.98 kB / 0.5919 GB, free: 54.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002624/0.7427, allocations: 343.6 kB / 0.5923 GB, free: 54.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005467/0.7433, allocations: 269.9 kB / 0.5925 GB, free: 54.21 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01587/0.7592, allocations: 7.452 MB / 0.5998 GB, free: 46.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0145/0.7737, allocations: 8.279 MB / 0.6079 GB, free: 38.39 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004422/0.7781, allocations: 2.452 MB / 0.6103 GB, free: 35.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00219/0.7803, allocations: 1.819 MB / 0.6121 GB, free: 34.09 MB / 446.1 MB Notification: Performance of Backend: time 2.61e-07/0.7803, allocations: 0 / 0.6121 GB, free: 34.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008398/0.7887, allocations: 4.187 MB / 0.6161 GB, free: 29.85 MB / 446.1 MB Notification: Performance of SimCode: time 0.01183/0.8005, allocations: 10.2 MB / 0.6261 GB, free: 19.63 MB / 446.1 MB Notification: Performance of Templates: time 0.1154/0.9159, allocations: 77.54 MB / 0.7018 GB, free: 6.84 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.892223789000127] Failed to read output from testmodel.py, exit status != 0: ['time', '// aimc.i_0_s', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'aimc.is[1]', 'aimc.is[2]', 'capacitor.v', 'inductor.inductor[2].i', 'inductor.inductor[3].i', 'loadInertia.phi', 'loadInertia.w', 'vfController.x'] 0.9242475849969196 0.938726286 0.642202202 Calling exit ...