Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 183.4 kB / 18.04 MB, free: 3.535 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 224.2 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007954/0.0007955, allocations: 92.66 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002867, allocations: 12 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2006, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.3254, allocations: 120.2 MB / 497.3 MB, free: 8.234 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3257, allocations: 99.95 kB / 497.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.321/0.6467, allocations: 84.77 MB / 0.5685 GB, free: 50.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6468, allocations: 4 kB / 0.5685 GB, free: 50.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003683/0.6471, allocations: 111.9 kB / 0.5686 GB, free: 50.36 MB / 378.7 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.01178/0.6589, allocations: 4.931 MB / 0.5734 GB, free: 45.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.659, allocations: 8.031 kB / 0.5734 GB, free: 45.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.6613, allocations: 0.5842 MB / 0.574 GB, free: 44.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00728/0.6687, allocations: 3.211 MB / 0.5771 GB, free: 41.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007239/0.6694, allocations: 430.2 kB / 0.5775 GB, free: 41.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.6706, allocations: 408.6 kB / 0.5779 GB, free: 40.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.6838, allocations: 6.547 MB / 0.5843 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.684, allocations: 15.84 kB / 0.5843 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006484/0.6847, allocations: 168 kB / 0.5845 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.6848, allocations: 175.9 kB / 0.5847 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.6986, allocations: 6.448 MB / 0.591 GB, free: 27.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.7264, allocations: 18.61 MB / 0.6091 GB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007497/0.7339, allocations: 4.859 MB / 0.6139 GB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005753/0.7397, allocations: 3.437 MB / 0.6172 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/0.7401, allocations: 151.3 kB / 0.6174 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006169/0.7463, allocations: 2.822 MB / 0.6201 GB, free: 12.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=293): time 6.422e-06/0.7463, allocations: 0 / 0.6201 GB, free: 12.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=319): time 0.06274/0.8091, allocations: 23.74 MB / 0.6433 GB, free: 4.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.8093, allocations: 329.2 kB / 0.6436 GB, free: 4.367 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004621/0.8139, allocations: 2.983 MB / 0.6465 GB, free: 1.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004598/0.8144, allocations: 81.7 kB / 0.6466 GB, free: 1.285 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1586/0.973, allocations: 1.791 MB / 0.6484 GB, free: 87.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.9743, allocations: 1.028 MB / 0.6494 GB, free: 87.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.9745, allocations: 64.31 kB / 0.6494 GB, free: 87.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9746, allocations: 427.4 kB / 0.6498 GB, free: 87.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005333/0.98, allocations: 2.42 MB / 0.6522 GB, free: 87.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005745/0.9857, allocations: 2.948 MB / 0.6551 GB, free: 87.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/0.9963, allocations: 5.294 MB / 0.6602 GB, free: 86.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/0.9964, allocations: 2.875 kB / 0.6603 GB, free: 86.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01423/1.011, allocations: 6.824 MB / 0.6669 GB, free: 86.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/1.011, allocations: 39.98 kB / 0.667 GB, free: 86.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/1.011, allocations: 9.844 kB / 0.667 GB, free: 86.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00413/1.015, allocations: 1.912 MB / 0.6688 GB, free: 86.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.017, allocations: 498.4 kB / 0.6693 GB, free: 86.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02116/1.038, allocations: 16.9 MB / 0.6858 GB, free: 80.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004105/1.042, allocations: 448.8 kB / 0.6862 GB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003283/1.043, allocations: 106.9 kB / 0.6863 GB, free: 80.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.pwm.svPWM.firstTrigger,pwm.svPWM.firstTrigger,$PRE.pwm.svPWM.phiSec,pwm.svPWM.phiSec,$PRE.pwm.svPWM.phiPos,pwm.svPWM.phiPos,$PRE.pwm.svPWM.phiRef,pwm.svPWM.phiRef,$PRE.pwm.svPWM.uRef,pwm.svPWM.uRef,$whenCondition2,$whenCondition1,pwm.svPWM.sampleTrigger,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.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],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,$PRE.pwm.svPWM.ka,pwm.svPWM.ka,$PRE.pwm.svPWM.kb,pwm.svPWM.kb,$PRE.pwm.svPWM.ta,pwm.svPWM.ta,$PRE.pwm.svPWM.tb,pwm.svPWM.tb,$PRE.pwm.svPWM.t0,pwm.svPWM.t0,$PRE.pwm.svPWM.T0,pwm.svPWM.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {23 96} Notification: Performance of prepare postOptimizeDAE: time 0.002567/1.045, allocations: 1.544 MB / 0.6878 GB, free: 79.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005686/1.046, allocations: 356.8 kB / 0.6882 GB, free: 79.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/1.06, allocations: 7.135 MB / 0.6952 GB, free: 77.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.06, allocations: 35.59 kB / 0.6952 GB, free: 77.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.06, allocations: 6.312 kB / 0.6952 GB, free: 77.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/1.06, allocations: 14.72 kB / 0.6952 GB, free: 77.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/1.081, allocations: 12.2 MB / 0.7071 GB, free: 72.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.081, allocations: 2.562 kB / 0.7071 GB, free: 72.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.083, allocations: 364.4 kB / 0.7075 GB, free: 72.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003941/1.087, allocations: 1.962 MB / 0.7094 GB, free: 71.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002653/1.087, allocations: 77.47 kB / 0.7095 GB, free: 70.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/1.107, allocations: 18.4 MB / 0.7274 GB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.107, allocations: 5.781 kB / 0.7274 GB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/1.125, allocations: 10.34 MB / 0.7375 GB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.128, allocations: 0.9032 MB / 0.7384 GB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005965/1.128, allocations: 71.89 kB / 0.7385 GB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/1.131, allocations: 434.8 kB / 0.7389 GB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009726/1.132, allocations: 0.5231 MB / 0.7394 GB, free: 44.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.132, allocations: 86.23 kB / 0.7395 GB, free: 44.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002669/1.135, allocations: 2.058 MB / 0.7415 GB, free: 42.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.135, allocations: 0 / 0.7415 GB, free: 42.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002924/1.138, allocations: 1.167 MB / 0.7426 GB, free: 41.29 MB / 410.7 MB 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.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,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.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],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.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 (191): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {23 96} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006528/1.139, allocations: 428.8 kB / 0.7431 GB, free: 40.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.013/1.152, allocations: 6.965 MB / 0.7499 GB, free: 35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.152, allocations: 0 / 0.7499 GB, free: 35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009816/1.161, allocations: 5.774 MB / 0.7555 GB, free: 29.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005339/1.167, allocations: 0.9734 MB / 0.7564 GB, free: 29.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/1.185, allocations: 12.36 MB / 0.7685 GB, free: 17.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/1.188, allocations: 3.254 MB / 0.7717 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002643/1.191, allocations: 0.7422 MB / 0.7724 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006403/1.191, allocations: 203.4 kB / 0.7726 GB, free: 13.69 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/1.191, allocations: 4 kB / 0.7726 GB, free: 13.69 MB / 410.7 MB Notification: Performance of Templates: time 0.2793/1.471, allocations: 75.21 MB / 0.8461 GB, free: 93.83 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive.pipe 2>&1)