Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BLDC_BLDC.Examples.DemoBLDC.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.DemoBLDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=399998,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoBLDC") translateModel(BLDC.Examples.DemoBLDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=399998,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoBLDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000756/0.0007559, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008014/0.0008014, allocations: 168.7 kB / 15.95 MB, free: 204 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.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.1337/0.1337, allocations: 2.574 MB / 293.7 MB, free: 4.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004115, allocations: 16 kB / 355.2 MB, free: 4.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09406, allocations: 51.01 MB / 406.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDC): time 0.01557/0.1097, allocations: 15.04 MB / 421.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1792/0.2889, allocations: 5.524 MB / 426.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.292, allocations: 99.88 kB / 426.8 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.2946, allocations: 0.9391 MB / 427.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.2983, allocations: 1.284 MB / 429.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.3002, allocations: 0.717 MB / 429.8 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00575/0.306, allocations: 6.428 MB / 436.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.3099, allocations: 3.737 MB / 439.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.3127, allocations: 1.997 MB / 441.9 MB, free: 31.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003113/0.3158, allocations: 2.648 MB / 444.6 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007453/0.3166, allocations: 320.9 kB / 444.9 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.3182, allocations: 0.5217 MB / 445.4 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000982/0.3192, allocations: 1.402 MB / 446.8 MB, free: 31.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.3206, allocations: 1.203 MB / 448 MB, free: 30.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007336/0.3279, allocations: 8.824 MB / 456.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.328, allocations: 4.703 kB / 456.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.328, allocations: 0 / 456.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002996/0.3283, allocations: 0 / 456.8 MB, free: 29.91 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: 1396 * Number of variables: 1396 Notification: Performance of Generate backend data structure: time 0.01427/0.3426, allocations: 6.145 MB / 463 MB, free: 27.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3426, allocations: 11.06 kB / 463 MB, free: 27.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005197/0.3478, allocations: 1.01 MB / 464 MB, free: 26.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007645/0.3555, allocations: 3.629 MB / 467.6 MB, free: 24.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000427/0.356, allocations: 391.6 kB / 468 MB, free: 24.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/0.3578, allocations: 0.5153 MB / 468.5 MB, free: 24.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.3756, allocations: 7.639 MB / 476.2 MB, free: 19.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.3758, allocations: 7.812 kB / 476.2 MB, free: 19.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006193/0.3764, allocations: 224.8 kB / 476.4 MB, free: 19.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002692/0.3767, allocations: 254.1 kB / 476.7 MB, free: 19.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.3917, allocations: 6.84 MB / 483.5 MB, free: 16.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04307/0.4348, allocations: 23.62 MB / 0.4952 GB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.4455, allocations: 5.826 MB / 0.5009 GB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005265/0.4508, allocations: 2.893 MB / 0.5037 GB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01663/0.4675, allocations: 8.446 MB / 0.512 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004308/0.4718, allocations: 2.374 MB / 0.5143 GB, free: 6.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=316): time 5.43e-06/0.4719, allocations: 0 / 0.5143 GB, free: 6.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=320): time 0.05917/0.5311, allocations: 21.05 MB / 0.5349 GB, free: 1.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.5313, allocations: 350.9 kB / 0.5352 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005951/0.5372, allocations: 3.373 MB / 0.5385 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005772/0.5378, allocations: 105.7 kB / 0.5386 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.5401, allocations: 2.256 MB / 0.5408 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001278/0.5414, allocations: 1.006 MB / 0.5418 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003643/0.5418, allocations: 64 kB / 0.5418 GB, free: 10.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002635/0.542, allocations: 437 kB / 0.5423 GB, free: 9.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/0.5454, allocations: 1.802 MB / 0.544 GB, free: 7.805 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00389/0.5493, allocations: 2.615 MB / 0.5466 GB, free: 4.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003773/0.5531, allocations: 2.008 MB / 0.5485 GB, free: 2.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.237e-05/0.5531, allocations: 8 kB / 0.5485 GB, free: 2.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=428) (initialization): time 0.01129/0.5644, allocations: 5.509 MB / 0.5539 GB, free: 13.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.5645, allocations: 12 kB / 0.5539 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.453e-05/0.5646, allocations: 20 kB / 0.554 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003504/0.5681, allocations: 1.426 MB / 0.5553 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/0.5704, allocations: 0.5108 MB / 0.5558 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.5914, allocations: 15.72 MB / 0.5712 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/0.5947, allocations: 263.8 kB / 0.5714 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006204/0.5953, allocations: 132 kB / 0.5716 GB, free: 10.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 84 ($PRE.triggeredMeanDC.t0,triggeredMeanDC.t0,$PRE.triggeredMeanDC.y_last,triggeredMeanDC.y_last,$PRE.triggeredMeanAC.t0,triggeredMeanAC.t0,$PRE.triggeredMeanAC.y_last,triggeredMeanAC.y_last,$whenCondition2,$whenCondition1,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],$PRE.triggeredMeanDC.trigger,triggeredMeanDC.trigger,$PRE.measurementTrigger.risingEdge[1].u,measurementTrigger.risingEdge[1].u,measurementTrigger.risingEdge[1].y,$PRE.measurementTrigger.risingEdge[2].u,measurementTrigger.risingEdge[2].u,measurementTrigger.risingEdge[2].y,$PRE.measurementTrigger.risingEdge[3].u,measurementTrigger.risingEdge[3].u,measurementTrigger.risingEdge[3].y,$PRE.measurementTrigger.risingEdge[4].u,measurementTrigger.risingEdge[4].u,measurementTrigger.risingEdge[4].y,$PRE.measurementTrigger.risingEdge[5].u,measurementTrigger.risingEdge[5].u,measurementTrigger.risingEdge[5].y,measurementTrigger.fallingEdge[1].y,$PRE.measurementTrigger.fallingEdge[1].not_u,measurementTrigger.fallingEdge[1].not_u,measurementTrigger.fallingEdge[2].y,$PRE.measurementTrigger.fallingEdge[2].not_u,measurementTrigger.fallingEdge[2].not_u,measurementTrigger.fallingEdge[3].y,$PRE.measurementTrigger.fallingEdge[3].not_u,measurementTrigger.fallingEdge[3].not_u,measurementTrigger.fallingEdge[4].y,$PRE.measurementTrigger.fallingEdge[4].not_u,measurementTrigger.fallingEdge[4].not_u,measurementTrigger.fallingEdge[5].y,$PRE.measurementTrigger.fallingEdge[5].not_u,measurementTrigger.fallingEdge[5].not_u,$PRE.triggeredMeanAC.trigger,triggeredMeanAC.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * 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.003959/0.5993, allocations: 1.844 MB / 0.5734 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/0.6003, allocations: 377.9 kB / 0.5737 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.6112, allocations: 5.355 MB / 0.579 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/0.6112, allocations: 31.95 kB / 0.579 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.6113, allocations: 4 kB / 0.579 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/0.6113, allocations: 19.94 kB / 0.579 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2218/0.8331, allocations: 10.97 MB / 0.5897 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.8331, allocations: 6.969 kB / 0.5897 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.8344, allocations: 293.6 kB / 0.59 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003517/0.8379, allocations: 1.666 MB / 0.5916 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003708/0.8383, allocations: 78.02 kB / 0.5917 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/0.8593, allocations: 17.53 MB / 0.6088 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.8594, allocations: 6.906 kB / 0.6088 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/0.873, allocations: 7.888 MB / 0.6165 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002466/0.8755, allocations: 0.8895 MB / 0.6174 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009062/0.8765, allocations: 76.53 kB / 0.6175 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/0.8786, allocations: 236.3 kB / 0.6177 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/0.8798, allocations: 470.8 kB / 0.6182 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/0.8801, allocations: 99.5 kB / 0.6183 GB, free: 115.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004166/0.8842, allocations: 2.304 MB / 0.6205 GB, free: 114.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8843, allocations: 0 / 0.6205 GB, free: 114.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005282/0.8896, allocations: 1.185 MB / 0.6217 GB, free: 114.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (smpm.inertiaRotor.w,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,loadInertia.phi,triggeredMeanDC.x,triggeredMeanAC.x) * Number of discrete variables: 68 ($whenCondition2,$whenCondition1,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],triggeredMeanDC.trigger,triggeredMeanDC.t0,triggeredMeanDC.y_last,measurementTrigger.risingEdge[1].u,measurementTrigger.risingEdge[1].y,measurementTrigger.risingEdge[2].u,measurementTrigger.risingEdge[2].y,measurementTrigger.risingEdge[3].u,measurementTrigger.risingEdge[3].y,measurementTrigger.risingEdge[4].u,measurementTrigger.risingEdge[4].y,measurementTrigger.risingEdge[5].u,measurementTrigger.risingEdge[5].y,measurementTrigger.fallingEdge[1].y,measurementTrigger.fallingEdge[1].not_u,measurementTrigger.fallingEdge[2].y,measurementTrigger.fallingEdge[2].not_u,measurementTrigger.fallingEdge[3].y,measurementTrigger.fallingEdge[3].not_u,measurementTrigger.fallingEdge[4].y,measurementTrigger.fallingEdge[4].not_u,measurementTrigger.fallingEdge[5].y,measurementTrigger.fallingEdge[5].not_u,triggeredMeanAC.trigger,triggeredMeanAC.t0,triggeredMeanAC.y_last) * Number of discrete states: 18 (measurementTrigger.fallingEdge[1].not_u,measurementTrigger.risingEdge[1].u,measurementTrigger.fallingEdge[2].not_u,measurementTrigger.risingEdge[2].u,measurementTrigger.fallingEdge[3].not_u,measurementTrigger.risingEdge[3].u,measurementTrigger.fallingEdge[4].not_u,measurementTrigger.risingEdge[4].u,measurementTrigger.fallingEdge[5].not_u,measurementTrigger.risingEdge[5].u,triggeredMeanDC.trigger,triggeredMeanDC.t0,triggeredMeanDC.x,triggeredMeanDC.y_last,triggeredMeanAC.trigger,triggeredMeanAC.t0,triggeredMeanAC.x,triggeredMeanAC.y_last) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 191 * 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.0009117/0.8905, allocations: 298.8 kB / 0.6219 GB, free: 114.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01047/0.901, allocations: 5.484 MB / 0.6273 GB, free: 112.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.901, allocations: 4.062 kB / 0.6273 GB, free: 112.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007045/0.9081, allocations: 3.921 MB / 0.6311 GB, free: 109.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006958/0.9151, allocations: 1.06 MB / 0.6322 GB, free: 109.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/0.937, allocations: 12.44 MB / 0.6443 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004172/0.9412, allocations: 3.623 MB / 0.6479 GB, free: 97.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003403/0.9446, allocations: 0.8879 MB / 0.6487 GB, free: 96.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008849/0.9455, allocations: 231.4 kB / 0.6489 GB, free: 96.59 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.9455, allocations: 4.188 kB / 0.6489 GB, free: 96.59 MB / 446.1 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..