Running command: translateModel(ModelicaTest.Electrical.MulitSensorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductorA.i|inductorM.inductor.1..i|inductorM.inductor.2..i|inductorM.inductor.3..i|meanpowerA.x|meanpowerM.1..x|meanpowerM.2..x|meanpowerM.3..x|resistorQM.plug_p.reference.gamma|resistorQS.pin_p.reference.gamma|rmsiA.mean.x|rmsiM.1..mean.x|rmsiM.2..mean.x|rmsiM.3..mean.x|rmsvA.mean.x|rmsvM.1..mean.x|rmsvM.2..mean.x|rmsvM.3..mean.x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest") Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.76e-05, allocations: 4 kB / 323.4 MB, free: 4.332 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 58.82 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.4943, allocations: 108.7 MB / 490.9 MB, free: 15.82 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.4945, allocations: 71.97 kB / 490.9 MB, free: 15.75 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6751/1.17, allocations: 131.8 MB / 0.6082 GB, free: 66.74 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.301e-06/1.17, allocations: 0 / 0.6082 GB, free: 66.74 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002439/1.17, allocations: 103.9 kB / 0.6083 GB, free: 66.64 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1296 * Number of variables: 1296 Notification: Performance of Generate backend data structure: time 0.01706/1.187, allocations: 4.646 MB / 0.6128 GB, free: 61.91 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.187, allocations: 11.98 kB / 0.6128 GB, free: 61.89 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01713/1.204, allocations: 2.433 MB / 0.6152 GB, free: 59.45 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007064/1.211, allocations: 2.888 MB / 0.618 GB, free: 56.5 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004513/1.212, allocations: 353.2 kB / 0.6184 GB, free: 56.16 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001705/1.214, allocations: 479.8 kB / 0.6188 GB, free: 55.69 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/1.232, allocations: 7.357 MB / 0.626 GB, free: 48.17 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/1.232, allocations: 7.906 kB / 0.626 GB, free: 48.16 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009738/1.233, allocations: 200 kB / 0.6262 GB, free: 47.96 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003556/1.233, allocations: 308.4 kB / 0.6265 GB, free: 47.66 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/1.248, allocations: 6.599 MB / 0.6329 GB, free: 41.06 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04518/1.294, allocations: 22.71 MB / 0.6551 GB, free: 17.84 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/1.305, allocations: 7.238 MB / 0.6622 GB, free: 10.07 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005216/1.31, allocations: 3.014 MB / 0.6651 GB, free: 7.043 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003813/1.31, allocations: 175.2 kB / 0.6653 GB, free: 6.848 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005649/1.316, allocations: 3.09 MB / 0.6683 GB, free: 3.684 MB / 458.8 MB Notification: Performance of pre-optimization done (n=414): time 1.123e-05/1.316, allocations: 0 / 0.6683 GB, free: 3.684 MB / 458.8 MB Notification: Performance of matching and sorting (n=414): time 0.01247/1.329, allocations: 5.717 MB / 0.6739 GB, free: 13.92 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003537/1.329, allocations: 477.8 kB / 0.6744 GB, free: 13.36 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/1.332, allocations: 1.432 MB / 0.6758 GB, free: 11.91 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007759/1.333, allocations: 109.6 kB / 0.6759 GB, free: 11.8 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/1.335, allocations: 1.662 MB / 0.6775 GB, free: 10.12 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002224/1.338, allocations: 1.371 MB / 0.6788 GB, free: 8.727 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004049/1.338, allocations: 72 kB / 0.6789 GB, free: 8.656 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0004409/1.338, allocations: 478.8 kB / 0.6793 GB, free: 8.18 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005115/1.344, allocations: 2.249 MB / 0.6815 GB, free: 5.926 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006458/1.35, allocations: 3.058 MB / 0.6845 GB, free: 2.551 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006409/1.357, allocations: 2.748 MB / 0.6872 GB, free: 15.78 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-05/1.357, allocations: 4 kB / 0.6872 GB, free: 15.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01593/1.373, allocations: 6.509 MB / 0.6936 GB, free: 9.211 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/1.373, allocations: 15.98 kB / 0.6936 GB, free: 9.195 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.709e-05/1.373, allocations: 20 kB / 0.6936 GB, free: 9.176 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/1.377, allocations: 1.4 MB / 0.695 GB, free: 7.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00473/1.382, allocations: 0.7527 MB / 0.6957 GB, free: 7.016 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007159/1.389, allocations: 4.603 MB / 0.7002 GB, free: 2.223 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/1.393, allocations: 472.2 kB / 0.7007 GB, free: 1.758 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009765/1.394, allocations: 160.3 kB / 0.7008 GB, free: 1.602 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.meanpowerA.y,meanpowerA.y,$whenCondition12,$whenCondition11,$whenCondition10,$PRE.rmsiA.mean.y,rmsiA.mean.y,$PRE.rmsvA.mean.y,rmsvA.mean.y,$PRE.meanpowerM[1].y,meanpowerM[1].y,$PRE.meanpowerM[2].y,meanpowerM[2].y,$PRE.meanpowerM[3].y,meanpowerM[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsiM[3].mean.y,rmsiM[3].mean.y,$PRE.rmsiM[2].mean.y,rmsiM[2].mean.y,$PRE.rmsiM[1].mean.y,rmsiM[1].mean.y,$PRE.rmsvM[3].mean.y,rmsvM[3].mean.y,$PRE.rmsvM[2].mean.y,rmsvM[2].mean.y,$PRE.rmsvM[1].mean.y,rmsvM[1].mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (415): * Single equations (assignments): 394 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 2 {6 9,6 45} Notification: Performance of prepare postOptimizeDAE: time 0.001057/1.395, allocations: 342.9 kB / 0.7011 GB, free: 1.258 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008524/1.396, allocations: 249 kB / 0.7014 GB, free: 1.012 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.41, allocations: 5.656 MB / 0.7069 GB, free: 11.29 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001455/1.41, allocations: 87.91 kB / 0.707 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/1.41, allocations: 4 kB / 0.707 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.301e-05/1.41, allocations: 23.92 kB / 0.707 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3247/1.735, allocations: 12.51 MB / 0.7192 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.763e-05/1.735, allocations: 1.906 kB / 0.7192 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003848/1.739, allocations: 0.5795 MB / 0.7198 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003705/1.742, allocations: 1.386 MB / 0.7212 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007632/1.743, allocations: 101.5 kB / 0.7212 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/1.749, allocations: 4.56 MB / 0.7257 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.14e-06/1.749, allocations: 0 / 0.7257 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01905/1.768, allocations: 9.726 MB / 0.7352 GB, free: 118.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.769, allocations: 397.6 kB / 0.7356 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/1.77, allocations: 92.28 kB / 0.7357 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/1.773, allocations: 214.8 kB / 0.7359 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000951/1.774, allocations: 297.7 kB / 0.7362 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004441/1.774, allocations: 124 kB / 0.7363 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002013/1.776, allocations: 1.082 MB / 0.7373 GB, free: 118.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.37e-07/1.776, allocations: 7.469 kB / 0.7373 GB, free: 118.3 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.004898/1.781, allocations: 1.261 MB / 0.7386 GB, free: 118.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 18 (inductorQS.pin_p.reference.gamma,sineVoltageQM.plug_p.reference.gamma,inductorM.inductor[1].i,inductorM.inductor[2].i,inductorM.inductor[3].i,rmsvM[1].mean.x,rmsvM[2].mean.x,rmsvM[3].mean.x,rmsiM[1].mean.x,rmsiM[2].mean.x,rmsiM[3].mean.x,meanpowerM[1].x,meanpowerM[2].x,meanpowerM[3].x,inductorA.i,rmsvA.mean.x,rmsiA.mean.x,meanpowerA.x) * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rmsvM[1].mean.y,rmsvM[2].mean.y,rmsvM[3].mean.y,rmsiM[1].mean.y,rmsiM[2].mean.y,rmsiM[3].mean.y,meanpowerM[1].y,meanpowerM[2].y,meanpowerM[3].y,$whenCondition12,$whenCondition11,$whenCondition10,rmsvA.mean.y,rmsiA.mean.y,meanpowerA.y) * Number of discrete states: 12 (meanpowerA.x,rmsiA.mean.x,rmsvA.mean.x,rmsvM[1].mean.x,rmsvM[2].mean.x,rmsvM[3].mean.x,rmsiM[1].mean.x,rmsiM[2].mean.x,rmsiM[3].mean.x,meanpowerM[1].x,meanpowerM[2].x,meanpowerM[3].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (322): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 12 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 2 {6 9,6 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/1.782, allocations: 321 kB / 0.7389 GB, free: 118.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.794, allocations: 5.566 MB / 0.7443 GB, free: 117.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.794, allocations: 0 / 0.7443 GB, free: 117.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006685/1.801, allocations: 2.946 MB / 0.7472 GB, free: 117.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/1.804, allocations: 404.7 kB / 0.7476 GB, free: 117.8 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/1.824, allocations: 8.764 MB / 0.7561 GB, free: 116.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004823/1.828, allocations: 3.459 MB / 0.7595 GB, free: 115.4 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.004036/1.832, allocations: 0.9398 MB / 0.7604 GB, free: 115.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/1.834, allocations: 209 kB / 0.7606 GB, free: 115.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.924e-06/1.834, allocations: 4 kB / 0.7606 GB, free: 115.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.1077/1.941, allocations: 48.9 MB / 0.8084 GB, free: 90.42 MB / 0.4949 GB