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.01843/0.01843, allocations: 2.576 MB / 17.53 MB, free: 3.801 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.0009526/0.0009526, allocations: 177.3 kB / 18.99 MB, free: 2.887 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.301/1.301, allocations: 223.2 MB / 243.5 MB, free: 14.46 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.0008674/0.0008676, allocations: 101.9 kB / 295.3 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004437, allocations: 16 kB / 356.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 51.02 MB / 407.8 MB, free: 50.18 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDCwithPWM): time 0.01183/0.2599, allocations: 14.14 MB / 421.9 MB, free: 42.21 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.2707, allocations: 5.83 MB / 427.7 MB, free: 38.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003761/0.2745, allocations: 98.31 kB / 427.8 MB, free: 38.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004268/0.2787, allocations: 1.065 MB / 428.9 MB, free: 37.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.2852, allocations: 1.595 MB / 430.5 MB, free: 36.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.2882, allocations: 0.8315 MB / 431.3 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006825/0.2951, allocations: 4.327 MB / 435.7 MB, free: 33.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004299/0.2994, allocations: 3.632 MB / 439.3 MB, free: 32.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.3025, allocations: 1.935 MB / 441.2 MB, free: 31.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.306, allocations: 2.379 MB / 443.6 MB, free: 29.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007074/0.3067, allocations: 316 kB / 443.9 MB, free: 29.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.3084, allocations: 0.4958 MB / 444.4 MB, free: 29.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007892/0.3092, allocations: 1.312 MB / 445.7 MB, free: 27.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009976/0.3102, allocations: 1.194 MB / 446.9 MB, free: 26.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005275/0.3155, allocations: 8.727 MB / 455.6 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.3155, allocations: 0 / 455.6 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3155, allocations: 0 / 455.6 MB, free: 17.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001932/0.3157, allocations: 4 kB / 455.6 MB, free: 17.86 MB / 330.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.01207/0.3278, allocations: 6.186 MB / 461.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.3278, allocations: 8.031 kB / 461.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/0.3318, allocations: 0.9959 MB / 462.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006273/0.3381, allocations: 3.698 MB / 466.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/0.3384, allocations: 418.2 kB / 466.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008504/0.3393, allocations: 0.4922 MB / 467.4 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.3504, allocations: 7.479 MB / 474.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.34e-05/0.3505, allocations: 3.906 kB / 474.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004773/0.351, allocations: 220 kB / 475.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002021/0.3512, allocations: 246.2 kB / 475.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.3627, allocations: 6.793 MB / 482.2 MB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03429/0.3971, allocations: 23.2 MB / 0.4935 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009006/0.4061, allocations: 6.079 MB / 0.4995 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.4172, allocations: 6.429 MB / 0.5057 GB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003773/0.421, allocations: 2.374 MB / 0.508 GB, free: 424 kB / 378.7 MB Notification: Performance of pre-optimization done (n=314): time 5.931e-06/0.421, allocations: 0 / 0.508 GB, free: 424 kB / 378.7 MB Notification: Performance of matching and sorting (n=319): time 0.05878/0.4798, allocations: 21.64 MB / 0.5292 GB, free: 10.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.48, allocations: 372.6 kB / 0.5295 GB, free: 10.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005563/0.4856, allocations: 3.429 MB / 0.5329 GB, free: 6.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005063/0.4861, allocations: 81.7 kB / 0.533 GB, free: 6.598 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001914/0.488, allocations: 2.235 MB / 0.5351 GB, free: 4.336 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.4892, allocations: 1.005 MB / 0.5361 GB, free: 3.316 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.4893, allocations: 60 kB / 0.5362 GB, free: 3.258 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.4896, allocations: 440.6 kB / 0.5366 GB, free: 2.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/0.4927, allocations: 1.782 MB / 0.5383 GB, free: 1.035 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003516/0.4962, allocations: 2.555 MB / 0.5408 GB, free: 14.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.4995, allocations: 2.028 MB / 0.5428 GB, free: 12.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.4995, allocations: 8 kB / 0.5428 GB, free: 12.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=410) (initialization): time 0.008996/0.5085, allocations: 5.465 MB / 0.5482 GB, free: 6.594 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1881/0.6966, allocations: 8.06 MB / 0.556 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-05/0.6967, allocations: 18.34 kB / 0.5561 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00398/0.7007, allocations: 1.456 MB / 0.5575 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/0.7032, allocations: 0.5419 MB / 0.558 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/0.7216, allocations: 16.47 MB / 0.5741 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.7245, allocations: 293.5 kB / 0.5744 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/0.7248, allocations: 129.4 kB / 0.5745 GB, free: 112.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.7248, allocations: 3.594 kB / 0.5745 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008813/0.7336, allocations: 5.112 MB / 0.5795 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.713e-05/0.7337, allocations: 20.02 kB / 0.5795 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003019/0.7368, allocations: 1.45 MB / 0.5809 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.7388, allocations: 0.5333 MB / 0.5814 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.7556, allocations: 16.47 MB / 0.5975 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/0.7591, allocations: 281.6 kB / 0.5978 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/0.7594, allocations: 128.9 kB / 0.5979 GB, free: 100.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.pwm.zeroOrderHold.firstTrigger,pwm.zeroOrderHold.firstTrigger,$whenCondition1,pwm.zeroOrderHold.sampleTrigger,pwm.zeroOrderHold.ySample,$whenCondition2,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 (314): * Single equations (assignments): 307 * 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 52,4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.002744/0.7622, allocations: 1.87 MB / 0.5997 GB, free: 98.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006486/0.7628, allocations: 379.1 kB / 0.6001 GB, free: 98.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007703/0.7706, allocations: 5.34 MB / 0.6053 GB, free: 93.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/0.7706, allocations: 32 kB / 0.6054 GB, free: 93.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7707, allocations: 4 kB / 0.6054 GB, free: 93.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/0.7707, allocations: 22.89 kB / 0.6054 GB, free: 93.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.7864, allocations: 11.81 MB / 0.6169 GB, free: 81.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.7864, allocations: 4 kB / 0.6169 GB, free: 81.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.7878, allocations: 349.9 kB / 0.6172 GB, free: 80.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003175/0.7909, allocations: 1.659 MB / 0.6189 GB, free: 79.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/0.7912, allocations: 71.97 kB / 0.6189 GB, free: 79.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/0.81, allocations: 18.1 MB / 0.6366 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.8101, allocations: 7.953 kB / 0.6366 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.8211, allocations: 8.213 MB / 0.6446 GB, free: 52.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/0.8233, allocations: 0.8835 MB / 0.6455 GB, free: 51.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005628/0.8239, allocations: 64 kB / 0.6456 GB, free: 51.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.8257, allocations: 271.3 kB / 0.6458 GB, free: 50.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008057/0.8266, allocations: 438.7 kB / 0.6462 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/0.8267, allocations: 83.98 kB / 0.6463 GB, free: 50.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002896/0.8297, allocations: 2.362 MB / 0.6486 GB, free: 48.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8297, allocations: 0 / 0.6486 GB, free: 48.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004615/0.8343, allocations: 2.006 MB / 0.6506 GB, free: 46.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (200): * Single equations (assignments): 192 * 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.0004318/0.8347, allocations: 257.5 kB / 0.6508 GB, free: 45.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01234/0.8471, allocations: 9.226 MB / 0.6598 GB, free: 36.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.8471, allocations: 0 / 0.6598 GB, free: 36.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005492/0.8526, allocations: 3.995 MB / 0.6637 GB, free: 32.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/0.8567, allocations: 1.029 MB / 0.6647 GB, free: 31.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.8743, allocations: 12.32 MB / 0.6768 GB, free: 19.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/0.8772, allocations: 3.726 MB / 0.6804 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003573/0.8808, allocations: 1.152 MB / 0.6815 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/0.8814, allocations: 231.3 kB / 0.6818 GB, free: 13.92 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.8814, allocations: 0 / 0.6818 GB, free: 13.92 MB / 426.7 MB [CodegenCFunctions.tpl:7542:14-7542:14:writable] Error: Template error: non INDEX(_) (i.e., slice) subscripts probably should not reach here. Check indexedAssign template..