Running command: "" <> buildModelFMU(ModelicaTest.Electrical.MultiSensorTest,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Electrical_MultiSensorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.631/2.631, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.217e-05/4.227e-05, allocations: 11.92 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4035, allocations: 61.86 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.6036, allocations: 110.4 MB / 0.5071 GB, free: 12.11 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.604, allocations: 71.91 kB / 0.5072 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8184/1.422, allocations: 133.8 MB / 0.6379 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.826e-06/1.422, allocations: 0 / 0.6379 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003256/1.423, allocations: 107.9 kB / 0.638 GB, free: 0.543 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.02293/1.446, allocations: 4.66 MB / 0.6425 GB, free: 11.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/1.446, allocations: 8.031 kB / 0.6425 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003293/1.449, allocations: 0.6832 MB / 0.6432 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02145/1.471, allocations: 2.433 MB / 0.6456 GB, free: 8.645 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/1.482, allocations: 2.97 MB / 0.6485 GB, free: 5.613 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006464/1.482, allocations: 353.3 kB / 0.6488 GB, free: 5.266 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002483/1.485, allocations: 483.8 kB / 0.6493 GB, free: 4.793 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/1.511, allocations: 7.171 MB / 0.6563 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002779/1.512, allocations: 11.84 kB / 0.6563 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001666/1.513, allocations: 200 kB / 0.6565 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006327/1.514, allocations: 332.7 kB / 0.6568 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/1.535, allocations: 6.283 MB / 0.6629 GB, free: 6.641 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06355/1.599, allocations: 22.24 MB / 0.6847 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02003/1.619, allocations: 11.72 MB / 0.6961 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004448/1.623, allocations: 1.666 MB / 0.6977 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004577/1.624, allocations: 147.4 kB / 0.6979 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005671/1.63, allocations: 1.965 MB / 0.6998 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=288): time 1.267e-05/1.63, allocations: 0 / 0.6998 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.01085/1.641, allocations: 3.229 MB / 0.7029 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003401/1.641, allocations: 0.5169 MB / 0.7034 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/1.646, allocations: 1.813 MB / 0.7052 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007257/1.647, allocations: 89.69 kB / 0.7053 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/1.65, allocations: 1.958 MB / 0.7072 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/1.652, allocations: 0.9669 MB / 0.7082 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/1.652, allocations: 79.94 kB / 0.7082 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004013/1.653, allocations: 466.9 kB / 0.7087 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004601/1.657, allocations: 1.542 MB / 0.7102 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00688/1.664, allocations: 2.811 MB / 0.7129 GB, free: 380 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3884/2.053, allocations: 2.132 MB / 0.715 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.669e-05/2.053, allocations: 11.06 kB / 0.715 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01283/2.066, allocations: 4.701 MB / 0.7196 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/2.066, allocations: 21.28 kB / 0.7196 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-05/2.066, allocations: 41.06 kB / 0.7197 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/2.067, allocations: 328.8 kB / 0.72 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006086/2.073, allocations: 0.8381 MB / 0.7208 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007942/2.081, allocations: 7.127 MB / 0.7278 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004713/2.086, allocations: 491.3 kB / 0.7282 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008198/2.087, allocations: 174.2 kB / 0.7284 GB, free: 106.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.0009619/2.088, allocations: 372.7 kB / 0.7288 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008307/2.089, allocations: 239.2 kB / 0.729 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00819/2.097, allocations: 3.002 MB / 0.7319 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.665e-05/2.097, allocations: 30.44 kB / 0.7319 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/2.097, allocations: 6.375 kB / 0.732 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.409e-05/2.097, allocations: 17.94 kB / 0.732 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02233/2.12, allocations: 8.587 MB / 0.7404 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.04e-05/2.12, allocations: 3.875 kB / 0.7404 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004513/2.124, allocations: 0.5033 MB / 0.7409 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/2.125, allocations: 275.5 kB / 0.7411 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006418/2.126, allocations: 79.36 kB / 0.7412 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007614/2.134, allocations: 7.071 MB / 0.7481 GB, free: 99.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/2.134, allocations: 3.969 kB / 0.7481 GB, free: 99.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/2.147, allocations: 5.824 MB / 0.7538 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/2.148, allocations: 370.2 kB / 0.7541 GB, free: 98.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/2.149, allocations: 82.31 kB / 0.7542 GB, free: 98.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/2.153, allocations: 169.3 kB / 0.7544 GB, free: 98.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007957/2.154, allocations: 205.8 kB / 0.7546 GB, free: 98.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/2.154, allocations: 96.03 kB / 0.7547 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002945/2.157, allocations: 1.35 MB / 0.756 GB, free: 98.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.91e-07/2.157, allocations: 3.719 kB / 0.756 GB, free: 98.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005886/2.163, allocations: 1.266 MB / 0.7572 GB, free: 98.5 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.01416/2.177, allocations: 7.3 MB / 0.7644 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009646/2.187, allocations: 4.123 MB / 0.7684 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/2.187, allocations: 3.25 kB / 0.7684 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005289/2.192, allocations: 2.39 MB / 0.7707 GB, free: 95.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/2.196, allocations: 404.9 kB / 0.7711 GB, free: 95.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/2.221, allocations: 8.71 MB / 0.7796 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005023/2.226, allocations: 3.338 MB / 0.7829 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004394/2.231, allocations: 1.678 MB / 0.7845 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.924e-06/2.231, allocations: 0 / 0.7845 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.519/6.749, allocations: 165.3 MB / 0.946 GB, free: 142.6 MB / 0.5417 GB