Running command: translateModel(ModelicaTest.Electrical.MultiSensorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSensorA.i|multiSensorA.v|multiSensorA.power|multiSensorM.i.1.|multiSensorM.i.2.|multiSensorM.i.3.|multiSensorM.v.1.|multiSensorM.v.2.|multiSensorM.v.3.|multiSensorM.power.1.|multiSensorM.power.2.|multiSensorM.power.3.|multiSensorM.powerTotal|multiSensorQS.i.re|multiSensorQS.i.im|multiSensorQS.v.re|multiSensorQS.v.im|multiSensorQS.apparentPower.re|multiSensorQS.apparentPower.im|multiSensorQM.i.1..re|multiSensorQM.i.1..im|multiSensorQM.i.2..re|multiSensorQM.i.2..im|multiSensorQM.i.3..re|multiSensorQM.i.3..im|multiSensorQM.v.1..re|multiSensorQM.v.1..im|multiSensorQM.v.2..re|multiSensorQM.v.2..im|multiSensorQM.v.3..re|multiSensorQM.v.3..im|multiSensorQM.apparentPower.1..re|multiSensorQM.apparentPower.1..im|multiSensorQM.apparentPower.2..re|multiSensorQM.apparentPower.2..im|multiSensorQM.apparentPower.3..re|multiSensorQM.apparentPower.3..im|multiSensorQM.apparentPowerTotal.re|multiSensorQM.apparentPowerTotal.im|rmsvA.y|rmsiA.y|meanpowerA.y|rmsvM.1..y|rmsvM.2..y|rmsvM.3..y|rmsiM.1..y|rmsiM.2..y|rmsiM.3..y|meanpowerM.1..y|meanpowerM.2..y|meanpowerM.3..y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest") Notification: Performance of loadModel(ModelicaTest): time 2.412/2.412, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.516e-05/4.548e-05, allocations: 4 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 61.88 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/0.6332, allocations: 110.4 MB / 0.5084 GB, free: 9.738 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.6336, allocations: 67.97 kB / 0.5085 GB, free: 9.672 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9409/1.574, allocations: 133.8 MB / 0.6392 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.23e-06/1.575, allocations: 1.469 kB / 0.6392 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003139/1.575, allocations: 104.8 kB / 0.6393 GB, free: 116.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.01957/1.594, allocations: 4.655 MB / 0.6438 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.595, allocations: 11.59 kB / 0.6439 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02021/1.615, allocations: 2.431 MB / 0.6462 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008075/1.623, allocations: 2.966 MB / 0.6491 GB, free: 114 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/1.623, allocations: 353.3 kB / 0.6495 GB, free: 114 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/1.625, allocations: 477.4 kB / 0.6499 GB, free: 114 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/1.645, allocations: 7.176 MB / 0.6569 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001939/1.645, allocations: 14.84 kB / 0.6569 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/1.646, allocations: 198.1 kB / 0.6571 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003873/1.647, allocations: 335.3 kB / 0.6574 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/1.662, allocations: 6.28 MB / 0.6636 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04565/1.708, allocations: 22.25 MB / 0.6853 GB, free: 99.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/1.721, allocations: 11.7 MB / 0.6967 GB, free: 89.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003189/1.724, allocations: 1.66 MB / 0.6984 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/1.724, allocations: 135.6 kB / 0.6985 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003784/1.728, allocations: 1.972 MB / 0.7004 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=288): time 8.184e-06/1.728, allocations: 0 / 0.7004 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.007331/1.735, allocations: 3.233 MB / 0.7036 GB, free: 87.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/1.736, allocations: 0.5107 MB / 0.7041 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/1.739, allocations: 1.81 MB / 0.7058 GB, free: 85.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005096/1.74, allocations: 92.36 kB / 0.7059 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001866/1.741, allocations: 1.997 MB / 0.7079 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/1.743, allocations: 0.9678 MB / 0.7088 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/1.743, allocations: 76.53 kB / 0.7089 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002554/1.743, allocations: 461.4 kB / 0.7093 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/1.747, allocations: 1.541 MB / 0.7108 GB, free: 82.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004345/1.751, allocations: 2.813 MB / 0.7136 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004038/1.755, allocations: 2.147 MB / 0.7157 GB, free: 78.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.896e-05/1.755, allocations: 12 kB / 0.7157 GB, free: 78.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01069/1.766, allocations: 4.791 MB / 0.7204 GB, free: 74.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/1.766, allocations: 20 kB / 0.7204 GB, free: 74.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.277e-05/1.766, allocations: 40 kB / 0.7204 GB, free: 74.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/1.767, allocations: 338 kB / 0.7208 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004401/1.772, allocations: 0.8428 MB / 0.7216 GB, free: 73.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006893/1.778, allocations: 7.122 MB / 0.7285 GB, free: 66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/1.782, allocations: 482.8 kB / 0.729 GB, free: 65.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000752/1.783, allocations: 175.4 kB / 0.7292 GB, free: 65.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.meanpowerA.y_last,meanpowerA.y_last,$whenCondition12,$whenCondition11,$whenCondition10,$PRE.rmsiA.mean.y_last,rmsiA.mean.y_last,$PRE.rmsvA.mean.y_last,rmsvA.mean.y_last,$PRE.meanpowerM[1].y_last,meanpowerM[1].y_last,$PRE.meanpowerM[2].y_last,meanpowerM[2].y_last,$PRE.meanpowerM[3].y_last,meanpowerM[3].y_last,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsiM[3].mean.y_last,rmsiM[3].mean.y_last,$PRE.rmsiM[2].mean.y_last,rmsiM[2].mean.y_last,$PRE.rmsiM[1].mean.y_last,rmsiM[1].mean.y_last,$PRE.rmsvM[3].mean.y_last,rmsvM[3].mean.y_last,$PRE.rmsvM[2].mean.y_last,rmsvM[2].mean.y_last,$PRE.rmsvM[1].mean.y_last,rmsvM[1].mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (464): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000833/1.784, allocations: 366.4 kB / 0.7295 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006601/1.785, allocations: 248.8 kB / 0.7297 GB, free: 64.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006368/1.791, allocations: 2.995 MB / 0.7327 GB, free: 62.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/1.791, allocations: 28 kB / 0.7327 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/1.791, allocations: 11.75 kB / 0.7327 GB, free: 62.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-05/1.791, allocations: 15.09 kB / 0.7327 GB, free: 62.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/1.81, allocations: 8.601 MB / 0.7411 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/1.81, allocations: 0 / 0.7411 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/1.813, allocations: 0.5147 MB / 0.7416 GB, free: 54.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/1.814, allocations: 275.4 kB / 0.7419 GB, free: 54.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004577/1.815, allocations: 78.12 kB / 0.742 GB, free: 54.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006613/1.821, allocations: 7.053 MB / 0.7489 GB, free: 47.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.916e-06/1.821, allocations: 7.938 kB / 0.7489 GB, free: 47.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.832, allocations: 5.832 MB / 0.7546 GB, free: 41.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009017/1.833, allocations: 365.6 kB / 0.7549 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000764/1.834, allocations: 83.97 kB / 0.755 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.836, allocations: 175.8 kB / 0.7552 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005515/1.837, allocations: 206.2 kB / 0.7553 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/1.837, allocations: 91.97 kB / 0.7554 GB, free: 40.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00249/1.839, allocations: 1.347 MB / 0.7568 GB, free: 39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.78e-07/1.839, allocations: 0 / 0.7568 GB, free: 39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005499/1.845, allocations: 1.271 MB / 0.758 GB, free: 37.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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_last,rmsvM[2].mean.y_last,rmsvM[3].mean.y_last,rmsiM[1].mean.y_last,rmsiM[2].mean.y_last,rmsiM[3].mean.y_last,meanpowerM[1].y_last,meanpowerM[2].y_last,meanpowerM[3].y_last,$whenCondition12,$whenCondition11,$whenCondition10,rmsvA.mean.y_last,rmsiA.mean.y_last,meanpowerA.y_last) * 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 (289): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008015/1.846, allocations: 311.3 kB / 0.7583 GB, free: 37.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00789/1.854, allocations: 4.134 MB / 0.7623 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/1.854, allocations: 0 / 0.7623 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005735/1.86, allocations: 2.133 MB / 0.7644 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/1.864, allocations: 404.8 kB / 0.7648 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/1.889, allocations: 7.456 MB / 0.7721 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007817/1.897, allocations: 3.422 MB / 0.7754 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007236/1.904, allocations: 1.126 MB / 0.7765 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/1.906, allocations: 223.4 kB / 0.7767 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of SimCode: time 3.122e-06/1.906, allocations: 4 kB / 0.7767 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.08884/1.995, allocations: 33.12 MB / 0.8091 GB, free: 1.863 MB / 0.5261 GB