Running command: translateModel(ModelicaTest.Electrical.MultiSensorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.MultiSensorTest") Notification: Performance of loadModel(ModelicaTest): time 2.297/2.297, allocations: 270 MB / 282.7 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.799e-05, allocations: 7.938 kB / 347 MB, free: 3.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3205, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.4859, allocations: 110.4 MB / 0.507 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4862, allocations: 71.97 kB / 0.5071 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6547/1.141, allocations: 133.8 MB / 0.6378 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.582e-06/1.141, allocations: 4 kB / 0.6378 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002303/1.141, allocations: 107.9 kB / 0.6379 GB, free: 0.7773 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.01689/1.158, allocations: 4.652 MB / 0.6425 GB, free: 12.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.158, allocations: 8.031 kB / 0.6425 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/1.176, allocations: 2.429 MB / 0.6448 GB, free: 9.586 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008398/1.185, allocations: 2.97 MB / 0.6477 GB, free: 6.555 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000523/1.185, allocations: 357.3 kB / 0.6481 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/1.187, allocations: 479.8 kB / 0.6485 GB, free: 5.734 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/1.207, allocations: 7.171 MB / 0.6555 GB, free: 14.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000187/1.208, allocations: 15.84 kB / 0.6555 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001035/1.209, allocations: 204 kB / 0.6557 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000473/1.209, allocations: 332.7 kB / 0.6561 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/1.226, allocations: 6.28 MB / 0.6622 GB, free: 7.578 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05125/1.277, allocations: 22.25 MB / 0.6839 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01634/1.294, allocations: 11.71 MB / 0.6954 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003608/1.297, allocations: 1.657 MB / 0.697 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/1.298, allocations: 135.7 kB / 0.6971 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004141/1.302, allocations: 1.981 MB / 0.699 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=288): time 8.251e-06/1.302, allocations: 0 / 0.699 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.007611/1.31, allocations: 3.23 MB / 0.7022 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003444/1.31, allocations: 0.4973 MB / 0.7027 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003812/1.314, allocations: 1.817 MB / 0.7045 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005016/1.314, allocations: 90.02 kB / 0.7045 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002371/1.317, allocations: 1.963 MB / 0.7065 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/1.318, allocations: 0.9629 MB / 0.7074 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/1.319, allocations: 79.94 kB / 0.7075 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003946/1.319, allocations: 474.9 kB / 0.7079 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003358/1.322, allocations: 1.538 MB / 0.7094 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00484/1.327, allocations: 2.815 MB / 0.7122 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3578/1.685, allocations: 2.132 MB / 0.7143 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.341e-05/1.685, allocations: 11.25 kB / 0.7143 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.009938/1.695, allocations: 4.7 MB / 0.7189 GB, free: 112 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/1.695, allocations: 25.69 kB / 0.7189 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.762e-05/1.695, allocations: 40.78 kB / 0.7189 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.696, allocations: 325.7 kB / 0.7192 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/1.7, allocations: 0.8367 MB / 0.7201 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006647/1.707, allocations: 7.133 MB / 0.727 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/1.71, allocations: 490.2 kB / 0.7275 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005/1.711, allocations: 172.5 kB / 0.7276 GB, free: 106.7 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.0007466/1.711, allocations: 374.8 kB / 0.728 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005296/1.712, allocations: 242.1 kB / 0.7282 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006245/1.718, allocations: 2.995 MB / 0.7312 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/1.718, allocations: 30.5 kB / 0.7312 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/1.718, allocations: 6.875 kB / 0.7312 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/1.718, allocations: 17.67 kB / 0.7312 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/1.735, allocations: 8.585 MB / 0.7396 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/1.735, allocations: 6.609 kB / 0.7396 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003038/1.738, allocations: 0.5027 MB / 0.7401 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/1.739, allocations: 280.2 kB / 0.7404 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002978/1.739, allocations: 77.17 kB / 0.7404 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006726/1.746, allocations: 7.063 MB / 0.7473 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.227e-06/1.746, allocations: 6.719 kB / 0.7473 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.757, allocations: 5.83 MB / 0.753 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008312/1.758, allocations: 374.8 kB / 0.7534 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005807/1.758, allocations: 78.72 kB / 0.7535 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.76, allocations: 172.3 kB / 0.7536 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/1.761, allocations: 202.3 kB / 0.7538 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/1.761, allocations: 97.3 kB / 0.7539 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002261/1.763, allocations: 1.35 MB / 0.7552 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.58e-07/1.763, allocations: 0 / 0.7552 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00471/1.768, allocations: 1.273 MB / 0.7565 GB, free: 98.48 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.0006679/1.769, allocations: 311 kB / 0.7568 GB, free: 98.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007439/1.776, allocations: 4.109 MB / 0.7608 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.776, allocations: 3.656 kB / 0.7608 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00424/1.78, allocations: 2.39 MB / 0.7631 GB, free: 97.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/1.783, allocations: 418.7 kB / 0.7635 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/1.799, allocations: 7.379 MB / 0.7707 GB, free: 95.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003848/1.803, allocations: 3.327 MB / 0.774 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/1.804, allocations: 256.7 kB / 0.7742 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of SimCode: time 1.803e-06/1.804, allocations: 0 / 0.7742 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.1621/1.966, allocations: 142.3 MB / 0.9132 GB, free: 10.1 MB / 0.5417 GB