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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 107.2 kB / 18.4 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 187.3 kB / 19.34 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 51.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06997/0.07118, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive): time 0.1577/0.2289, allocations: 14.66 MB / 390.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007949/0.2368, allocations: 4.603 MB / 395.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.2392, allocations: 83.09 kB / 395.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.2412, allocations: 1.006 MB / 396.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003033/0.2443, allocations: 1.406 MB / 397.6 MB, free: 140 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.2458, allocations: 0.7466 MB / 398.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00611/0.252, allocations: 5.788 MB / 404.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004119/0.2561, allocations: 3.914 MB / 408.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/0.2595, allocations: 2.618 MB / 410.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/0.2633, allocations: 3.123 MB / 413.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007866/0.2641, allocations: 0.6564 MB / 414.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.2655, allocations: 0.7437 MB / 415.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.2672, allocations: 1.908 MB / 417.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002912/0.2701, allocations: 2.964 MB / 420.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007782/0.2779, allocations: 8.81 MB / 428.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2779, allocations: 0 / 428.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2779, allocations: 0 / 428.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.651e-05/0.278, allocations: 1.406 kB / 428.9 MB, free: 10.48 MB / 350.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.01131/0.2893, allocations: 6.127 MB / 435 MB, free: 4.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2894, allocations: 8.031 kB / 435 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2904, allocations: 0.5951 MB / 435.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004554/0.295, allocations: 3.035 MB / 438.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008002/0.2958, allocations: 461.9 kB / 439.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006252/0.2965, allocations: 400 kB / 439.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.3082, allocations: 6.526 MB / 446 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.21e-05/0.3083, allocations: 15.92 kB / 446 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003983/0.3087, allocations: 164 kB / 446.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.3089, allocations: 187.8 kB / 446.4 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.3234, allocations: 6.463 MB / 452.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02764/0.351, allocations: 18.54 MB / 471.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008484/0.3595, allocations: 4.725 MB / 476.1 MB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00685/0.3664, allocations: 3.306 MB / 479.4 MB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003562/0.3668, allocations: 144.4 kB / 479.5 MB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005962/0.3727, allocations: 2.697 MB / 482.2 MB, free: 4.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=290): time 4.699e-06/0.3728, allocations: 0 / 482.2 MB, free: 4.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=313): time 0.06375/0.4365, allocations: 22.85 MB / 0.4932 GB, free: 13.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.4367, allocations: 256 kB / 0.4935 GB, free: 13.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004036/0.4407, allocations: 2.948 MB / 0.4964 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.441, allocations: 85.7 kB / 0.4965 GB, free: 9.957 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.4424, allocations: 1.842 MB / 0.4983 GB, free: 8.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008077/0.4432, allocations: 1.061 MB / 0.4993 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009373/0.4441, allocations: 0.5728 MB / 0.4998 GB, free: 6.449 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.4442, allocations: 305.1 kB / 0.5001 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005507/0.4497, allocations: 2.281 MB / 0.5024 GB, free: 3.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005815/0.4556, allocations: 2.817 MB / 0.5051 GB, free: 0.875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.4669, allocations: 5.084 MB / 0.5101 GB, free: 11.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.4669, allocations: 4 kB / 0.5101 GB, free: 11.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01474/0.4817, allocations: 6.558 MB / 0.5165 GB, free: 4.965 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.4817, allocations: 33.7 kB / 0.5165 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.4818, allocations: 20.33 kB / 0.5165 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004299/0.4861, allocations: 1.885 MB / 0.5184 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.488, allocations: 491.2 kB / 0.5189 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/0.5117, allocations: 17.87 MB / 0.5363 GB, free: 368 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/0.5155, allocations: 443.4 kB / 0.5367 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/0.5158, allocations: 180 kB / 0.5369 GB, free: 15.75 MB / 478.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.002378/0.5182, allocations: 1.534 MB / 0.5384 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/0.5188, allocations: 365.7 kB / 0.5387 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/0.5335, allocations: 6.673 MB / 0.5453 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.883e-05/0.5335, allocations: 11.95 kB / 0.5453 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5335, allocations: 3.938 kB / 0.5453 GB, free: 7.078 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/0.5353, allocations: 0.9008 MB / 0.5462 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/0.5358, allocations: 67.98 kB / 0.5462 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002975/0.5388, allocations: 415.4 kB / 0.5466 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006857/0.5395, allocations: 270 kB / 0.5469 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1763/0.7158, allocations: 7.784 MB / 0.5545 GB, free: 150.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0187/0.7345, allocations: 8.622 MB / 0.5629 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005776/0.7403, allocations: 2.779 MB / 0.5656 GB, free: 147.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002894/0.7433, allocations: 2.041 MB / 0.5676 GB, free: 146.9 MB / 478.1 MB Notification: Performance of Backend: time 4.11e-07/0.7433, allocations: 0 / 0.5676 GB, free: 146.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009535/0.7528, allocations: 4.625 MB / 0.5721 GB, free: 145 MB / 478.1 MB Notification: Performance of SimCode: time 0.01266/0.7655, allocations: 10.3 MB / 0.5822 GB, free: 139.9 MB / 478.1 MB Notification: Performance of Templates: time 0.08877/0.8543, allocations: 73.86 MB / 0.6543 GB, free: 70.36 MB / 478.1 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)