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.313/2.313, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.839e-05/2.842e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1264, allocations: 61.88 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.MultiSensorTest): time 0.01512/0.1416, allocations: 9.009 MB / 419.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007842/0.1495, allocations: 2.824 MB / 422.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.1512, allocations: 79.81 kB / 422.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.1531, allocations: 461.2 kB / 423.3 MB, free: 472 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3287/0.4818, allocations: 0.989 MB / 424.3 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.4857, allocations: 0.8506 MB / 425.1 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006228/0.492, allocations: 2.383 MB / 427.5 MB, free: 3.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01592/0.5079, allocations: 6.382 MB / 433.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.5118, allocations: 1.322 MB / 435.2 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004816/0.5166, allocations: 1.713 MB / 436.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.5198, allocations: 308 kB / 437.2 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.5209, allocations: 153.6 kB / 437.4 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.5226, allocations: 0.8883 MB / 438.2 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002589/0.5252, allocations: 374.5 kB / 438.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.537, allocations: 7.098 MB / 445.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5371, allocations: 3.938 kB / 445.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5371, allocations: 0 / 445.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002939/0.5374, allocations: 0 / 445.7 MB, free: 15.2 MB / 362.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.02221/0.5596, allocations: 4.959 MB / 450.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.5597, allocations: 9.656 kB / 450.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0318/0.5915, allocations: 3.513 MB / 454.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008753/0.6003, allocations: 2.752 MB / 457 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/0.6008, allocations: 367.7 kB / 457.3 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002307/0.6031, allocations: 494.8 kB / 457.8 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/0.629, allocations: 7.375 MB / 465.2 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002489/0.6293, allocations: 15.89 kB / 465.2 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001712/0.631, allocations: 193.9 kB / 465.4 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004676/0.6315, allocations: 280.2 kB / 465.6 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/0.6537, allocations: 6.895 MB / 472.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08304/0.7368, allocations: 22.5 MB / 495 MB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02273/0.7596, allocations: 11.82 MB / 0.495 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004659/0.7601, allocations: 137 kB / 0.4951 GB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005522/0.7657, allocations: 2.057 MB / 0.4971 GB, free: 3.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=288): time 8.406e-06/0.7657, allocations: 0 / 0.4971 GB, free: 3.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=288): time 0.01591/0.7817, allocations: 5.128 MB / 0.5021 GB, free: 14.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003193/0.782, allocations: 0.509 MB / 0.5026 GB, free: 13.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004544/0.7866, allocations: 1.825 MB / 0.5044 GB, free: 11.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000659/0.7873, allocations: 94.02 kB / 0.5045 GB, free: 11.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002494/0.7898, allocations: 1.956 MB / 0.5064 GB, free: 9.797 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001667/0.7915, allocations: 0.9655 MB / 0.5073 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/0.792, allocations: 79.94 kB / 0.5074 GB, free: 8.766 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000393/0.7924, allocations: 470.9 kB / 0.5079 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004827/0.7973, allocations: 1.608 MB / 0.5094 GB, free: 6.688 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006299/0.8036, allocations: 2.913 MB / 0.5123 GB, free: 3.215 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006078/0.8097, allocations: 2.185 MB / 0.5144 GB, free: 1.031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.124e-05/0.8098, allocations: 12 kB / 0.5144 GB, free: 1.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01439/0.8242, allocations: 4.94 MB / 0.5193 GB, free: 12.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.8243, allocations: 20 kB / 0.5193 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.228e-05/0.8244, allocations: 40 kB / 0.5193 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.8258, allocations: 335.3 kB / 0.5196 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006145/0.832, allocations: 0.8385 MB / 0.5204 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009626/0.8416, allocations: 7.224 MB / 0.5275 GB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004728/0.8464, allocations: 488.1 kB / 0.528 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008635/0.8473, allocations: 176 kB / 0.5281 GB, free: 2.41 MB / 442.7 MB 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.005227/0.8526, allocations: 1.695 MB / 0.5298 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008387/0.8534, allocations: 241.1 kB / 0.53 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008951/0.8624, allocations: 3.067 MB / 0.533 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/0.8625, allocations: 35.95 kB / 0.5331 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.476e-05/0.8625, allocations: 8 kB / 0.5331 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.148e-05/0.8626, allocations: 15.94 kB / 0.5331 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/0.8877, allocations: 8.66 MB / 0.5415 GB, free: 4.617 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/0.8877, allocations: 8.031 kB / 0.5415 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004633/0.8924, allocations: 0.507 MB / 0.542 GB, free: 4.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.8937, allocations: 287.6 kB / 0.5423 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006321/0.8944, allocations: 83.94 kB / 0.5424 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00958/0.904, allocations: 7.157 MB / 0.5494 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.9041, allocations: 4 kB / 0.5494 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/0.9204, allocations: 6.003 MB / 0.5552 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002512/0.923, allocations: 0.6536 MB / 0.5559 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/0.924, allocations: 79.97 kB / 0.556 GB, free: 5.105 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003206/0.9272, allocations: 175.8 kB / 0.5561 GB, free: 4.934 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008015/0.9281, allocations: 198.2 kB / 0.5563 GB, free: 4.734 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003355/0.9284, allocations: 99.91 kB / 0.5564 GB, free: 4.637 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003565/0.932, allocations: 1.367 MB / 0.5577 GB, free: 3.277 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.222e-06/0.9321, allocations: 3.938 kB / 0.5577 GB, free: 3.273 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006232/0.9383, allocations: 1.253 MB / 0.559 GB, free: 2.016 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 18 (sineVoltageQS.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.001028/0.9394, allocations: 256.7 kB / 0.5592 GB, free: 1.762 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01162/0.951, allocations: 4.362 MB / 0.5635 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.9511, allocations: 4 kB / 0.5635 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006397/0.9575, allocations: 2.492 MB / 0.5659 GB, free: 10.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/0.9615, allocations: 415.6 kB / 0.5663 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02653/0.9881, allocations: 10.59 MB / 0.5767 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006633/0.9948, allocations: 3.325 MB / 0.5799 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/0.9967, allocations: 251.4 kB / 0.5801 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of SimCode: time 1.383e-06/0.9968, allocations: 0 / 0.5801 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.5764/1.573, allocations: 142.7 MB / 0.7195 GB, free: 68.96 MB / 0.5105 GB