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.001528/0.001528, allocations: 106.6 kB / 18.4 MB, free: 4.699 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.001811/0.001811, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.34/1.34, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001201/0.001201, allocations: 55.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07246/0.07367, allocations: 46.62 MB / 375.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive): time 0.158/0.2318, allocations: 14.65 MB / 390.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007805/0.2396, allocations: 4.608 MB / 395.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.2417, allocations: 86.97 kB / 395.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.2436, allocations: 0.9545 MB / 396.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.2468, allocations: 1.36 MB / 397.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.2484, allocations: 0.7386 MB / 398.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00662/0.255, allocations: 5.792 MB / 404 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004278/0.2593, allocations: 3.914 MB / 408 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.2633, allocations: 2.614 MB / 410.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005169/0.2684, allocations: 3.119 MB / 413.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.2697, allocations: 0.6562 MB / 414.3 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.2718, allocations: 0.7485 MB / 415.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001904/0.2737, allocations: 1.907 MB / 417 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003949/0.2776, allocations: 2.964 MB / 420 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009185/0.2868, allocations: 8.782 MB / 428.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2869, allocations: 0 / 428.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2869, allocations: 0 / 428.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002202/0.2871, allocations: 0 / 428.7 MB, free: 10.59 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.01335/0.3005, allocations: 5.996 MB / 434.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3005, allocations: 8.031 kB / 434.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.3017, allocations: 0.5649 MB / 435.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/0.3069, allocations: 3.016 MB / 438.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007999/0.3077, allocations: 457.9 kB / 438.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007271/0.3084, allocations: 405.5 kB / 439.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.3209, allocations: 6.522 MB / 445.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.197e-05/0.321, allocations: 7.938 kB / 445.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004113/0.3214, allocations: 168 kB / 445.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/0.3216, allocations: 183.9 kB / 446 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.3363, allocations: 6.467 MB / 452.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03091/0.3673, allocations: 18.49 MB / 471 MB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009106/0.3764, allocations: 4.723 MB / 475.7 MB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007295/0.3837, allocations: 3.31 MB / 479 MB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/0.3841, allocations: 147.2 kB / 479.2 MB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00639/0.3905, allocations: 2.697 MB / 481.9 MB, free: 4.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=290): time 5.059e-06/0.3906, allocations: 0 / 481.9 MB, free: 4.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=313): time 0.06564/0.4562, allocations: 22.77 MB / 0.4928 GB, free: 13.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.4564, allocations: 256.1 kB / 0.4931 GB, free: 13.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00479/0.4612, allocations: 2.948 MB / 0.4959 GB, free: 10.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003099/0.4615, allocations: 81.7 kB / 0.496 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.4632, allocations: 1.81 MB / 0.4978 GB, free: 8.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009917/0.4642, allocations: 1.006 MB / 0.4988 GB, free: 7.512 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.4652, allocations: 0.5726 MB / 0.4993 GB, free: 6.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4653, allocations: 305.1 kB / 0.4996 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005751/0.4711, allocations: 2.289 MB / 0.5019 GB, free: 4.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00617/0.4773, allocations: 2.81 MB / 0.5046 GB, free: 1.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/0.4894, allocations: 5.08 MB / 0.5096 GB, free: 12.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.4895, allocations: 7.938 kB / 0.5096 GB, free: 12.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01527/0.5047, allocations: 6.552 MB / 0.516 GB, free: 5.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.5048, allocations: 33.7 kB / 0.516 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/0.5048, allocations: 12 kB / 0.516 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004334/0.5092, allocations: 1.877 MB / 0.5178 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/0.5112, allocations: 495.2 kB / 0.5183 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02531/0.5366, allocations: 17.85 MB / 0.5358 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003844/0.5404, allocations: 439.3 kB / 0.5362 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005061/0.541, allocations: 184 kB / 0.5363 GB, free: 268 kB / 462.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.00303/0.544, allocations: 1.538 MB / 0.5379 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009721/0.545, allocations: 347.9 kB / 0.5382 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/0.5605, allocations: 6.665 MB / 0.5447 GB, free: 7.625 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.072e-05/0.5606, allocations: 11.95 kB / 0.5447 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5606, allocations: 0 / 0.5447 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/0.5625, allocations: 0.8755 MB / 0.5456 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008463/0.5634, allocations: 67.98 kB / 0.5456 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003286/0.5667, allocations: 423.4 kB / 0.546 GB, free: 6.234 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006806/0.5674, allocations: 266 kB / 0.5463 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1837/0.7511, allocations: 7.784 MB / 0.5539 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01892/0.77, allocations: 8.599 MB / 0.5623 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006119/0.7762, allocations: 2.773 MB / 0.565 GB, free: 147.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003212/0.7794, allocations: 2.046 MB / 0.567 GB, free: 147 MB / 478.1 MB Notification: Performance of Backend: time 3.51e-07/0.7795, allocations: 0 / 0.567 GB, free: 147 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009769/0.7892, allocations: 4.608 MB / 0.5715 GB, free: 145.1 MB / 478.1 MB Notification: Performance of SimCode: time 0.01344/0.8027, allocations: 10.14 MB / 0.5814 GB, free: 140.1 MB / 478.1 MB Notification: Performance of Templates: time 0.09163/0.8944, allocations: 75.55 MB / 0.6552 GB, free: 69.57 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)