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_trunk_ModelicaTest.Electrical.MultiSensorTest") Notification: Performance of loadModel(ModelicaTest): time 2.691/2.691, allocations: 270 MB / 283.6 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.279e-05, allocations: 4 kB / 348.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3286, allocations: 61.89 MB / 410.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.5417, allocations: 110.4 MB / 0.5085 GB, free: 12.15 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.542, allocations: 67.97 kB / 0.5085 GB, free: 12.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.671/1.213, allocations: 133.8 MB / 0.6392 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.52e-06/1.213, allocations: 0 / 0.6392 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002535/1.213, allocations: 111.9 kB / 0.6393 GB, free: 0.668 MB / 442.7 MB 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.01796/1.231, allocations: 4.648 MB / 0.6439 GB, free: 11.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.231, allocations: 12.03 kB / 0.6439 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01873/1.25, allocations: 2.433 MB / 0.6462 GB, free: 9.473 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008612/1.259, allocations: 2.97 MB / 0.6491 GB, free: 6.441 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005285/1.259, allocations: 357.3 kB / 0.6495 GB, free: 6.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/1.261, allocations: 475.9 kB / 0.6499 GB, free: 5.625 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/1.282, allocations: 7.175 MB / 0.6569 GB, free: 14.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/1.282, allocations: 11.84 kB / 0.657 GB, free: 14.28 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/1.283, allocations: 204 kB / 0.6571 GB, free: 14.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004862/1.284, allocations: 332.7 kB / 0.6575 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/1.301, allocations: 6.283 MB / 0.6636 GB, free: 7.465 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05225/1.353, allocations: 22.24 MB / 0.6853 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01663/1.37, allocations: 11.71 MB / 0.6968 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/1.374, allocations: 1.661 MB / 0.6984 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/1.374, allocations: 143.9 kB / 0.6985 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004451/1.379, allocations: 1.966 MB / 0.7004 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=288): time 9.396e-06/1.379, allocations: 0 / 0.7004 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.01025/1.389, allocations: 3.233 MB / 0.7036 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007847/1.39, allocations: 0.5169 MB / 0.7041 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005723/1.396, allocations: 1.801 MB / 0.7059 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005483/1.396, allocations: 97.62 kB / 0.7059 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002797/1.399, allocations: 2 MB / 0.7079 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/1.401, allocations: 0.9591 MB / 0.7088 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004279/1.401, allocations: 80 kB / 0.7089 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000433/1.402, allocations: 462 kB / 0.7094 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003945/1.405, allocations: 1.55 MB / 0.7109 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005366/1.411, allocations: 2.811 MB / 0.7136 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3209/1.732, allocations: 2.129 MB / 0.7157 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.673e-05/1.732, allocations: 10.91 kB / 0.7157 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01192/1.744, allocations: 4.795 MB / 0.7204 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/1.744, allocations: 26.78 kB / 0.7204 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.168e-05/1.744, allocations: 37.59 kB / 0.7204 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/1.745, allocations: 334.9 kB / 0.7208 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004275/1.749, allocations: 0.8344 MB / 0.7216 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007163/1.757, allocations: 7.131 MB / 0.7285 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/1.76, allocations: 493.3 kB / 0.729 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008133/1.761, allocations: 171.7 kB / 0.7292 GB, free: 105.8 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.0008781/1.762, allocations: 374.6 kB / 0.7295 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006581/1.763, allocations: 237.1 kB / 0.7298 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00638/1.769, allocations: 3 MB / 0.7327 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/1.769, allocations: 27.75 kB / 0.7327 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/1.769, allocations: 6.062 kB / 0.7327 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.905e-05/1.769, allocations: 18.17 kB / 0.7327 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/1.787, allocations: 8.587 MB / 0.7411 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/1.787, allocations: 3.875 kB / 0.7411 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/1.79, allocations: 0.5076 MB / 0.7416 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/1.791, allocations: 285.1 kB / 0.7419 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003383/1.792, allocations: 79.67 kB / 0.742 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006503/1.798, allocations: 7.057 MB / 0.7489 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.229e-06/1.798, allocations: 0 / 0.7489 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/1.809, allocations: 5.831 MB / 0.7546 GB, free: 97.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008609/1.81, allocations: 375.9 kB / 0.7549 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000685/1.81, allocations: 78.86 kB / 0.755 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.812, allocations: 172.6 kB / 0.7552 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004129/1.813, allocations: 202.9 kB / 0.7554 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.813, allocations: 98.12 kB / 0.7554 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002388/1.815, allocations: 1.345 MB / 0.7568 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.46e-07/1.815, allocations: 0 / 0.7568 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004698/1.82, allocations: 1.271 MB / 0.758 GB, free: 97.51 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.0006375/1.821, allocations: 317.3 kB / 0.7583 GB, free: 97.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00751/1.828, allocations: 4.116 MB / 0.7623 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.828, allocations: 3.844 kB / 0.7623 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003832/1.832, allocations: 2.131 MB / 0.7644 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.835, allocations: 415.7 kB / 0.7648 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.851, allocations: 7.457 MB / 0.7721 GB, free: 94.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004818/1.856, allocations: 3.43 MB / 0.7754 GB, free: 94.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004312/1.861, allocations: 1.126 MB / 0.7765 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.862, allocations: 217.3 kB / 0.7767 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of SimCode: time 1.737e-06/1.862, allocations: 4 kB / 0.7768 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.08419/1.946, allocations: 33.12 MB / 0.8091 GB, free: 82.05 MB / 0.5105 GB