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: "" <> buildModelFMU(BLDC.Examples.DemoBLDCwithPWM,fileNamePrefix="BLDC_BLDC_Examples_DemoBLDCwithPWM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BLDC.Examples.DemoBLDCwithPWM,fileNamePrefix="BLDC_BLDC_Examples_DemoBLDCwithPWM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001166/0.001166, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.2143/0.2143, allocations: 2.565 MB / 293.5 MB, free: 4.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004689, allocations: 20 kB / 355.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 51 MB / 406.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDCwithPWM): time 0.01583/0.15, allocations: 14.15 MB / 420.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3112/0.4612, allocations: 5.811 MB / 426.1 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/0.4649, allocations: 98.47 kB / 426.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003728/0.4686, allocations: 1.067 MB / 427.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007615/0.4763, allocations: 1.581 MB / 428.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.4797, allocations: 0.8288 MB / 429.7 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009186/0.4889, allocations: 4.339 MB / 434 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005069/0.494, allocations: 3.648 MB / 437.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006212/0.5002, allocations: 1.928 MB / 439.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008133/0.5084, allocations: 2.381 MB / 442 MB, free: 32.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002582/0.511, allocations: 318.1 kB / 442.3 MB, free: 32.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004931/0.516, allocations: 0.4897 MB / 442.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002978/0.519, allocations: 1.318 MB / 444.1 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004258/0.5233, allocations: 1.201 MB / 445.3 MB, free: 32.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.5364, allocations: 8.717 MB / 454 MB, free: 32.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.5365, allocations: 2.344 kB / 454 MB, free: 32.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5365, allocations: 0 / 454 MB, free: 32.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005318/0.537, allocations: 0 / 454 MB, free: 32.08 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: 1366 * Number of variables: 1366 Notification: Performance of Generate backend data structure: time 0.02272/0.5597, allocations: 6.19 MB / 460.2 MB, free: 29.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.5598, allocations: 9.031 kB / 460.2 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004085/0.5639, allocations: 0.7117 MB / 460.9 MB, free: 29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006943/0.5709, allocations: 0.9962 MB / 461.9 MB, free: 28.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/0.5842, allocations: 3.695 MB / 465.6 MB, free: 26.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009668/0.5852, allocations: 420.5 kB / 466 MB, free: 26.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00292/0.5882, allocations: 0.4933 MB / 466.5 MB, free: 26.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0284/0.6166, allocations: 7.48 MB / 474 MB, free: 22.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004902/0.6171, allocations: 11.09 kB / 474 MB, free: 22.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002671/0.6198, allocations: 214.6 kB / 474.2 MB, free: 22.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005963/0.6205, allocations: 252.1 kB / 474.5 MB, free: 22.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/0.6443, allocations: 6.778 MB / 481.2 MB, free: 18.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06027/0.7047, allocations: 23.21 MB / 0.4926 GB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/0.7181, allocations: 6.086 MB / 0.4986 GB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01968/0.7379, allocations: 6.415 MB / 0.5048 GB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005656/0.7436, allocations: 2.376 MB / 0.5072 GB, free: 15.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=314): time 1.014e-05/0.7437, allocations: 0 / 0.5072 GB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=319): time 0.06519/0.8089, allocations: 21.63 MB / 0.5283 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002494/0.8092, allocations: 380.6 kB / 0.5287 GB, free: 9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006682/0.8159, allocations: 3.425 MB / 0.532 GB, free: 5.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001019/0.8169, allocations: 84 kB / 0.5321 GB, free: 5.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003321/0.8203, allocations: 2.226 MB / 0.5343 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002221/0.8225, allocations: 1.007 MB / 0.5352 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.8227, allocations: 68 kB / 0.5353 GB, free: 2.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003734/0.8231, allocations: 440.6 kB / 0.5357 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004096/0.8272, allocations: 1.779 MB / 0.5375 GB, free: 15.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005101/0.8323, allocations: 2.549 MB / 0.5399 GB, free: 13.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005119/0.8375, allocations: 2.033 MB / 0.5419 GB, free: 11.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-05/0.8376, allocations: 12 kB / 0.5419 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=410) (initialization): time 0.01373/0.8513, allocations: 5.453 MB / 0.5473 GB, free: 5.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.005374/0.8567, allocations: 8.076 MB / 0.5552 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.815e-05/0.8568, allocations: 16 kB / 0.5552 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003636/0.8605, allocations: 1.457 MB / 0.5566 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/0.863, allocations: 0.5421 MB / 0.5571 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02236/0.8853, allocations: 16.47 MB / 0.5732 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/0.89, allocations: 303.9 kB / 0.5735 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006847/0.8907, allocations: 127.9 kB / 0.5736 GB, free: 9.305 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.8907, allocations: 4 kB / 0.5736 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009864/0.9006, allocations: 5.104 MB / 0.5786 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-05/0.9008, allocations: 19.94 kB / 0.5786 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003394/0.9042, allocations: 1.446 MB / 0.58 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.9069, allocations: 0.5326 MB / 0.5806 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3306/1.238, allocations: 16.47 MB / 0.5966 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/1.242, allocations: 283.8 kB / 0.5969 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005174/1.243, allocations: 128.9 kB / 0.597 GB, free: 122.3 MB / 446.1 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.004798/1.247, allocations: 1.846 MB / 0.5988 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.249, allocations: 391.7 kB / 0.5992 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009658/1.258, allocations: 5.342 MB / 0.6044 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.916e-05/1.258, allocations: 33.75 kB / 0.6045 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/1.258, allocations: 5.375 kB / 0.6045 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.147e-05/1.258, allocations: 18.61 kB / 0.6045 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/1.282, allocations: 11.82 MB / 0.616 GB, free: 114.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/1.282, allocations: 5.969 kB / 0.616 GB, free: 114.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.284, allocations: 335.4 kB / 0.6164 GB, free: 114.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004396/1.288, allocations: 1.665 MB / 0.618 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/1.289, allocations: 73.39 kB / 0.618 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02834/1.317, allocations: 18.1 MB / 0.6357 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/1.317, allocations: 2.75 kB / 0.6357 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/1.333, allocations: 8.223 MB / 0.6438 GB, free: 97.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003175/1.336, allocations: 0.8797 MB / 0.6446 GB, free: 96.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005822/1.337, allocations: 65.7 kB / 0.6447 GB, free: 96.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/1.339, allocations: 263.3 kB / 0.6449 GB, free: 96.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/1.34, allocations: 438.8 kB / 0.6453 GB, free: 96.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/1.34, allocations: 89.45 kB / 0.6454 GB, free: 96.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004408/1.345, allocations: 2.357 MB / 0.6477 GB, free: 95.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.345, allocations: 2.438 kB / 0.6477 GB, free: 95.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007592/1.352, allocations: 2.008 MB / 0.6497 GB, free: 93.96 MB / 446.1 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.01192/1.364, allocations: 9.562 MB / 0.659 GB, free: 84.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01414/1.379, allocations: 9.225 MB / 0.668 GB, free: 74.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.379, allocations: 0 / 0.668 GB, free: 74.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006557/1.385, allocations: 3.999 MB / 0.6719 GB, free: 70.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005081/1.39, allocations: 1.016 MB / 0.6729 GB, free: 69.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07809/1.468, allocations: 46.99 MB / 0.7188 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007004/1.475, allocations: 3.719 MB / 0.7225 GB, free: 17.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005307/1.481, allocations: 1.156 MB / 0.7236 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00301/1.484, allocations: 2.011 MB / 0.7256 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.044e-06/1.484, allocations: 0 / 0.7256 GB, free: 13.86 MB / 446.1 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..