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/BLDC 1.9.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 BLDC with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/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/BLDC 1.9.0/package.mo): time 0.01872/0.01872, allocations: 2.573 MB / 17.54 MB, free: 4.211 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001128, allocations: 172.8 kB / 19 MB, free: 3.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.3 MB / 243.6 MB, free: 12.58 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008255/0.0008255, allocations: 91.55 kB / 295.4 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004681, allocations: 12 kB / 356.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 51.01 MB / 407.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDCwithPWM): time 0.256/0.3712, allocations: 15.41 MB / 423.3 MB, free: 34.12 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01486/0.3861, allocations: 5.708 MB / 429 MB, free: 33.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003629/0.3898, allocations: 103.3 kB / 429.1 MB, free: 33.63 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00346/0.3933, allocations: 0.9478 MB / 430 MB, free: 33.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005011/0.3983, allocations: 1.296 MB / 431.3 MB, free: 32.96 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.4007, allocations: 0.7549 MB / 432.1 MB, free: 32.89 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00635/0.4071, allocations: 6.434 MB / 438.5 MB, free: 31.47 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004354/0.4114, allocations: 3.644 MB / 442.2 MB, free: 30.96 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.4149, allocations: 2.01 MB / 444.2 MB, free: 30.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004234/0.4191, allocations: 2.647 MB / 446.8 MB, free: 29.22 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.4202, allocations: 319.9 kB / 447.1 MB, free: 29.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.4224, allocations: 0.5157 MB / 447.7 MB, free: 29.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.4235, allocations: 1.388 MB / 449 MB, free: 28.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.4252, allocations: 1.2 MB / 450.2 MB, free: 27.81 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.436, allocations: 8.778 MB / 459 MB, free: 26.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.436, allocations: 0 / 459 MB, free: 26.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.436, allocations: 0 / 459 MB, free: 26.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000468/0.4365, allocations: 0 / 459 MB, free: 26.26 MB / 346.7 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.02043/0.4569, allocations: 6.201 MB / 465.2 MB, free: 23.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.457, allocations: 12.19 kB / 465.2 MB, free: 23.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006821/0.4638, allocations: 1.006 MB / 466.2 MB, free: 22.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.474, allocations: 3.679 MB / 469.9 MB, free: 20.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000702/0.4748, allocations: 422.2 kB / 470.3 MB, free: 20.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002442/0.4772, allocations: 0.4925 MB / 470.8 MB, free: 20.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.4971, allocations: 7.519 MB / 478.3 MB, free: 16.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/0.4973, allocations: 6.438 kB / 478.4 MB, free: 16.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007548/0.4981, allocations: 214.1 kB / 478.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002909/0.4984, allocations: 245 kB / 478.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/0.5132, allocations: 6.796 MB / 485.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04135/0.5546, allocations: 23.3 MB / 0.497 GB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.5648, allocations: 6.086 MB / 0.5029 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004806/0.5697, allocations: 2.817 MB / 0.5057 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/0.5847, allocations: 8.167 MB / 0.5136 GB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004051/0.5888, allocations: 2.302 MB / 0.5159 GB, free: 2.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=303): time 6.422e-06/0.5888, allocations: 4 kB / 0.5159 GB, free: 2.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=307): time 0.05773/0.6466, allocations: 20.54 MB / 0.536 GB, free: 13.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002018/0.6468, allocations: 368.5 kB / 0.5363 GB, free: 12.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005835/0.6526, allocations: 3.516 MB / 0.5397 GB, free: 9.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004914/0.6531, allocations: 81.69 kB / 0.5398 GB, free: 9.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002321/0.6555, allocations: 2.243 MB / 0.542 GB, free: 7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.6567, allocations: 0.9668 MB / 0.543 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.6569, allocations: 60.56 kB / 0.543 GB, free: 5.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.6571, allocations: 432.5 kB / 0.5434 GB, free: 5.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/0.6603, allocations: 1.747 MB / 0.5451 GB, free: 3.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/0.664, allocations: 2.532 MB / 0.5476 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/0.6674, allocations: 1.988 MB / 0.5495 GB, free: 14.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.6674, allocations: 4 kB / 0.5495 GB, free: 14.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.009854/0.6773, allocations: 5.413 MB / 0.5548 GB, free: 9.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005036/0.6778, allocations: 0.6834 MB / 0.5555 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/0.6778, allocations: 19.98 kB / 0.5555 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003214/0.6811, allocations: 1.425 MB / 0.5569 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/0.6833, allocations: 0.5226 MB / 0.5574 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/0.7027, allocations: 15.72 MB / 0.5728 GB, free: 6.254 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004149/0.7069, allocations: 295.8 kB / 0.5731 GB, free: 5.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004519/0.7073, allocations: 128 kB / 0.5732 GB, free: 5.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.7074, allocations: 4 kB / 0.5732 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009227/0.7166, allocations: 5.043 MB / 0.5781 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.521e-05/0.7167, allocations: 28.05 kB / 0.5781 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2729/0.9896, allocations: 1.42 MB / 0.5795 GB, free: 123.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/0.9924, allocations: 0.5199 MB / 0.58 GB, free: 123.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/1.011, allocations: 15.71 MB / 0.5954 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/1.015, allocations: 287.2 kB / 0.5956 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006286/1.016, allocations: 128.8 kB / 0.5958 GB, free: 117.8 MB / 442.7 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 ($PRE.pwm.zeroOrderHold.firstTrigger,pwm.zeroOrderHold.firstTrigger,$whenCondition2,pwm.zeroOrderHold.sampleTrigger,pwm.zeroOrderHold.ySample,$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,$PRE.pwm.zeroOrderHold.ySample,$PRE.pwm.triangle.T_start,pwm.triangle.T_start,$PRE.pwm.triangle.count,pwm.triangle.count) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {13 49,4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.004762/1.021, allocations: 1.851 MB / 0.5976 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/1.022, allocations: 383.5 kB / 0.5979 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/1.032, allocations: 5.312 MB / 0.6031 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/1.032, allocations: 29 kB / 0.6032 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/1.032, allocations: 3.812 kB / 0.6032 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/1.032, allocations: 17.7 kB / 0.6032 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/1.053, allocations: 10.8 MB / 0.6137 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/1.053, allocations: 7.703 kB / 0.6137 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.054, allocations: 311.2 kB / 0.614 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004162/1.058, allocations: 1.675 MB / 0.6157 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000332/1.059, allocations: 68.84 kB / 0.6157 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02389/1.082, allocations: 17.54 MB / 0.6329 GB, free: 98.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.083, allocations: 2.469 kB / 0.6329 GB, free: 98.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/1.098, allocations: 7.789 MB / 0.6405 GB, free: 94.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/1.102, allocations: 0.8866 MB / 0.6413 GB, free: 93.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.103, allocations: 63.94 kB / 0.6414 GB, free: 93.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/1.105, allocations: 262.5 kB / 0.6416 GB, free: 93.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/1.107, allocations: 422 kB / 0.642 GB, free: 93.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/1.107, allocations: 80.73 kB / 0.6421 GB, free: 93.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004922/1.112, allocations: 2.428 MB / 0.6445 GB, free: 91.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.112, allocations: 0 / 0.6445 GB, free: 91.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008988/1.121, allocations: 2.001 MB / 0.6464 GB, free: 91.43 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(2,100.0%) 8} * Non-linear torn systems: 1 {21 91} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007711/1.122, allocations: 253.2 kB / 0.6467 GB, free: 91.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01419/1.136, allocations: 9.033 MB / 0.6555 GB, free: 81.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.136, allocations: 0 / 0.6555 GB, free: 81.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006002/1.142, allocations: 3.798 MB / 0.6592 GB, free: 78.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006439/1.148, allocations: 1.075 MB / 0.6603 GB, free: 77.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/1.167, allocations: 12.14 MB / 0.6721 GB, free: 65.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003217/1.17, allocations: 3.625 MB / 0.6757 GB, free: 61.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004201/1.174, allocations: 1.152 MB / 0.6768 GB, free: 60.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/1.175, allocations: 223.4 kB / 0.677 GB, free: 59.99 MB / 442.7 MB Notification: Performance of SimCode: time 2.285e-06/1.175, allocations: 7.938 kB / 0.677 GB, free: 59.98 MB / 442.7 MB [CodegenCFunctions.tpl:7578:14-7578:14:writable] Error: Template error: non INDEX(_) (i.e., slice) subscripts probably should not reach here. Check indexedAssign template..