Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BLDC_BLDC.Examples.DemoBLDCwithPWM.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) Using package BLDC with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BLDC.Examples.DemoBLDCwithPWM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=399998,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoBLDCwithPWM") translateModel(BLDC.Examples.DemoBLDCwithPWM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=399998,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoBLDCwithPWM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007436/0.007436, allocations: 101.9 kB / 15.73 MB, free: 6.031 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.001777/0.001778, allocations: 197.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.1403/0.1403, allocations: 2.585 MB / 293.1 MB, free: 3.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 95.84 kB / 405.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2432, allocations: 50.03 MB / 455.3 MB, free: 21.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDCwithPWM): time 0.01366/0.2569, allocations: 17.49 MB / 472.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.2669, allocations: 6.09 MB / 478.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003285/0.2702, allocations: 116.8 kB / 479 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.2737, allocations: 1.227 MB / 480.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.2787, allocations: 1.555 MB / 481.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.2813, allocations: 1.111 MB / 482.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008094/0.2895, allocations: 6.679 MB / 489.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006557/0.296, allocations: 5.372 MB / 495 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005488/0.3016, allocations: 2.907 MB / 497.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005959/0.3076, allocations: 3.356 MB / 0.4895 GB, free: 7.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001772/0.3094, allocations: 0.8281 MB / 0.4903 GB, free: 6.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/0.3125, allocations: 1.039 MB / 0.4913 GB, free: 5.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.3143, allocations: 2.002 MB / 0.4933 GB, free: 3.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005574/0.3199, allocations: 3.547 MB / 0.4967 GB, free: 256 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.3307, allocations: 10.89 MB / 0.5074 GB, free: 5.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3307, allocations: 0 / 0.5074 GB, free: 5.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3307, allocations: 0 / 0.5074 GB, free: 5.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002094/0.3309, allocations: 0 / 0.5074 GB, free: 5.324 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: 1366 * Number of variables: 1366 Notification: Performance of Generate backend data structure: time 0.01727/0.3482, allocations: 7.145 MB / 0.5144 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3483, allocations: 8.031 kB / 0.5144 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004185/0.3525, allocations: 0.9968 MB / 0.5153 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007118/0.3596, allocations: 3.783 MB / 0.519 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.3599, allocations: 374.3 kB / 0.5194 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.3611, allocations: 0.5038 MB / 0.5199 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.3763, allocations: 7.538 MB / 0.5272 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.3765, allocations: 3.938 kB / 0.5272 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005308/0.377, allocations: 216 kB / 0.5274 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/0.3772, allocations: 246.2 kB / 0.5277 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.3907, allocations: 6.786 MB / 0.5343 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03654/0.4273, allocations: 22.86 MB / 0.5566 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009641/0.437, allocations: 6.04 MB / 0.5625 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004365/0.4414, allocations: 2.778 MB / 0.5652 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/0.4546, allocations: 8.038 MB / 0.5731 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003807/0.4584, allocations: 2.294 MB / 0.5753 GB, free: 14.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=303): time 8.286e-06/0.4585, allocations: 0 / 0.5753 GB, free: 14.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=307): time 0.2494/0.7079, allocations: 20.38 MB / 0.5952 GB, free: 112.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.7081, allocations: 374.1 kB / 0.5956 GB, free: 111.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/0.7135, allocations: 3.428 MB / 0.5989 GB, free: 110.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005172/0.714, allocations: 77.64 kB / 0.599 GB, free: 110.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001761/0.7158, allocations: 2.248 MB / 0.6012 GB, free: 108.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.7169, allocations: 0.9624 MB / 0.6021 GB, free: 108 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.718, allocations: 0.6021 MB / 0.6027 GB, free: 107.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.7181, allocations: 306 kB / 0.603 GB, free: 107.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/0.7212, allocations: 1.746 MB / 0.6047 GB, free: 106.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003506/0.7247, allocations: 2.52 MB / 0.6072 GB, free: 105.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006583/0.7313, allocations: 4.126 MB / 0.6112 GB, free: 103 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.486e-05/0.7314, allocations: 9.438 kB / 0.6112 GB, free: 103 MB / 462.1 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.01012/0.7415, allocations: 5.388 MB / 0.6165 GB, free: 100.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.7416, allocations: 39.31 kB / 0.6165 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.912e-05/0.7417, allocations: 20.2 kB / 0.6166 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/0.745, allocations: 1.427 MB / 0.6179 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.7473, allocations: 0.5202 MB / 0.6185 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/0.7659, allocations: 17.1 MB / 0.6352 GB, free: 89.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/0.7699, allocations: 234.1 kB / 0.6354 GB, free: 89.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006883/0.7706, allocations: 132.8 kB / 0.6355 GB, free: 89.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007063/0.7777, allocations: 3.306 MB / 0.6387 GB, free: 87.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003289/0.781, allocations: 2.511 MB / 0.6412 GB, free: 86.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005237/0.7863, allocations: 4.102 MB / 0.6452 GB, free: 83.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.205e-05/0.7863, allocations: 4 kB / 0.6452 GB, free: 83.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=401) (initialization_lambda0): time 0.008314/0.7947, allocations: 5.365 MB / 0.6504 GB, free: 78.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.7947, allocations: 41.7 kB / 0.6505 GB, free: 77.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.7948, allocations: 24 kB / 0.6505 GB, free: 77.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002629/0.7974, allocations: 1.419 MB / 0.6519 GB, free: 76.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.7992, allocations: 0.5115 MB / 0.6524 GB, free: 76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.814, allocations: 17.11 MB / 0.6691 GB, free: 58.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/0.817, allocations: 263.7 kB / 0.6693 GB, free: 58.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.8172, allocations: 132 kB / 0.6695 GB, free: 57.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 57 (pwm.zeroOrderHold.firstTrigger,$PRE.pwm.zeroOrderHold.firstTrigger,pwm.zeroOrderHold.sampleTrigger,$whenCondition2,pwm.zeroOrderHold.ySample,pwm.triangle.count,$PRE.pwm.triangle.count,pwm.triangle.T_start,$PRE.pwm.triangle.T_start,$PRE.pwm.zeroOrderHold.ySample,pwm.notFire,electronicCommutator.fire_n[5],electronicCommutator.fire_n[4],electronicCommutator.fire_n[3],electronicCommutator.fire_n[2],electronicCommutator.fire_n[1],electronicCommutator.fire_p[5],electronicCommutator.fire_p[4],electronicCommutator.fire_p[3],electronicCommutator.fire_p[2],electronicCommutator.fire_p[1],inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[5].y,inverter.andCondition_n[4].y,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[5].y,inverter.andCondition_p[4].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,hallSensor.yC[5],hallSensor.yC[4],hallSensor.yC[3],hallSensor.yC[2],hallSensor.yC[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(13,49), (4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007214/0.818, allocations: 424.8 kB / 0.6699 GB, free: 57.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/0.8185, allocations: 379.4 kB / 0.6702 GB, free: 57.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007736/0.8263, allocations: 5.279 MB / 0.6754 GB, free: 51.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.8263, allocations: 28 kB / 0.6754 GB, free: 51.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.8263, allocations: 4 kB / 0.6754 GB, free: 51.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.8263, allocations: 11.95 kB / 0.6754 GB, free: 51.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.8399, allocations: 10.73 MB / 0.6859 GB, free: 40.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.8399, allocations: 4 kB / 0.6859 GB, free: 40.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.8411, allocations: 311.8 kB / 0.6862 GB, free: 40.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003276/0.8444, allocations: 1.669 MB / 0.6878 GB, free: 38.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/0.8446, allocations: 67.97 kB / 0.6879 GB, free: 38.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/0.8636, allocations: 18.96 MB / 0.7064 GB, free: 19.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8636, allocations: 4 kB / 0.7064 GB, free: 19.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/0.8743, allocations: 7.745 MB / 0.714 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/0.8766, allocations: 0.8712 MB / 0.7148 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004931/0.8771, allocations: 59.98 kB / 0.7149 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.8789, allocations: 199.8 kB / 0.7151 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008822/0.8798, allocations: 426.7 kB / 0.7155 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/0.8799, allocations: 85.09 kB / 0.7156 GB, free: 10.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002718/0.8827, allocations: 2.336 MB / 0.7178 GB, free: 7.699 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8827, allocations: 0 / 0.7178 GB, free: 7.699 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005546/0.8882, allocations: 1.999 MB / 0.7198 GB, free: 5.703 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (smpm.inertiaRotor.w,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,loadInertia.phi) * Number of discrete variables: 53 (pwm.zeroOrderHold.sampleTrigger,$whenCondition2,$whenCondition1,hallSensor.yC[1],hallSensor.yC[2],hallSensor.yC[3],hallSensor.yC[4],hallSensor.yC[5],inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,electronicCommutator.fire_p[1],electronicCommutator.fire_p[2],electronicCommutator.fire_p[3],electronicCommutator.fire_p[4],electronicCommutator.fire_p[5],electronicCommutator.fire_n[1],electronicCommutator.fire_n[2],electronicCommutator.fire_n[3],electronicCommutator.fire_n[4],electronicCommutator.fire_n[5],pwm.notFire,pwm.zeroOrderHold.firstTrigger,pwm.zeroOrderHold.ySample,pwm.triangle.T_start,pwm.triangle.count) * Number of discrete states: 2 (pwm.triangle.count,pwm.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(21,91)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004652/0.8887, allocations: 250.9 kB / 0.72 GB, free: 5.461 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01328/0.902, allocations: 9.062 MB / 0.7289 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.902, allocations: 0.8125 kB / 0.7289 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006874/0.9089, allocations: 3.801 MB / 0.7326 GB, free: 8.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005765/0.9147, allocations: 1.121 MB / 0.7337 GB, free: 7.258 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/0.9335, allocations: 10.38 MB / 0.7438 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003474/0.937, allocations: 3.618 MB / 0.7474 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003371/0.9404, allocations: 1.148 MB / 0.7485 GB, free: 8.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006408/0.941, allocations: 239.4 kB / 0.7487 GB, free: 7.809 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.9411, allocations: 0 / 0.7487 GB, free: 7.809 MB / 494.1 MB Notification: Performance of Templates: time 0.3665/1.308, allocations: 89.91 MB / 0.8365 GB, free: 141.9 MB / 0.5137 GB make -j1 -f BLDC_BLDC.Examples.DemoBLDCwithPWM.makefile (rm -f BLDC_BLDC.Examples.DemoBLDCwithPWM.pipe ; mkfifo BLDC_BLDC.Examples.DemoBLDCwithPWM.pipe ; head -c 1048576 < BLDC_BLDC.Examples.DemoBLDCwithPWM.pipe >> ../files/BLDC_BLDC.Examples.DemoBLDCwithPWM.sim & ./BLDC_BLDC.Examples.DemoBLDCwithPWM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BLDC_BLDC.Examples.DemoBLDCwithPWM.pipe 2>&1)