Running command: "" <> buildModelFMU(ModelicaTest.Electrical.MulitSensorTest,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_MulitSensorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.301e-05, allocations: 0 / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4453, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2455/0.6909, allocations: 108.7 MB / 491 MB, free: 15.69 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.6912, allocations: 67.97 kB / 491 MB, free: 15.62 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8687/1.56, allocations: 131.9 MB / 0.6083 GB, free: 66.53 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.555e-06/1.56, allocations: 0 / 0.6083 GB, free: 66.53 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003178/1.56, allocations: 107.9 kB / 0.6084 GB, free: 66.43 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1296 * Number of variables: 1296 Notification: Performance of Generate backend data structure: time 0.02063/1.581, allocations: 4.635 MB / 0.6129 GB, free: 61.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.581, allocations: 8.031 kB / 0.6129 GB, free: 61.69 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002619/1.584, allocations: 0.675 MB / 0.6136 GB, free: 61.01 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01997/1.604, allocations: 2.437 MB / 0.616 GB, free: 58.56 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/1.614, allocations: 2.888 MB / 0.6188 GB, free: 55.61 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007748/1.615, allocations: 357.2 kB / 0.6191 GB, free: 55.26 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002878/1.618, allocations: 471.9 kB / 0.6196 GB, free: 54.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/1.648, allocations: 7.361 MB / 0.6268 GB, free: 47.28 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002912/1.649, allocations: 7.906 kB / 0.6268 GB, free: 47.27 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002028/1.651, allocations: 200 kB / 0.627 GB, free: 47.07 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006062/1.651, allocations: 312.4 kB / 0.6273 GB, free: 46.77 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02587/1.677, allocations: 6.599 MB / 0.6337 GB, free: 40.16 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07142/1.749, allocations: 22.7 MB / 0.6559 GB, free: 16.95 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/1.769, allocations: 7.23 MB / 0.6629 GB, free: 9.184 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009481/1.778, allocations: 3.01 MB / 0.6659 GB, free: 6.164 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007188/1.779, allocations: 175.4 kB / 0.666 GB, free: 5.969 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01105/1.79, allocations: 3.09 MB / 0.6691 GB, free: 2.805 MB / 458.8 MB Notification: Performance of pre-optimization done (n=414): time 1.631e-05/1.79, allocations: 0 / 0.6691 GB, free: 2.805 MB / 458.8 MB Notification: Performance of matching and sorting (n=414): time 0.0175/1.807, allocations: 5.725 MB / 0.6747 GB, free: 13.04 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003642/1.808, allocations: 473.7 kB / 0.6751 GB, free: 12.47 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/1.812, allocations: 1.432 MB / 0.6765 GB, free: 11.03 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/1.813, allocations: 101.7 kB / 0.6766 GB, free: 10.93 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002434/1.815, allocations: 1.666 MB / 0.6782 GB, free: 9.238 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002616/1.818, allocations: 1.363 MB / 0.6796 GB, free: 7.855 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006844/1.819, allocations: 76 kB / 0.6796 GB, free: 7.781 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005021/1.819, allocations: 482.8 kB / 0.6801 GB, free: 7.301 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006462/1.826, allocations: 2.241 MB / 0.6823 GB, free: 5.055 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00747/1.833, allocations: 3.07 MB / 0.6853 GB, free: 1.668 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00758/1.841, allocations: 2.752 MB / 0.688 GB, free: 14.89 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.621e-05/1.841, allocations: 4 kB / 0.688 GB, free: 14.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01915/1.86, allocations: 6.518 MB / 0.6943 GB, free: 8.32 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/1.86, allocations: 12 kB / 0.6943 GB, free: 8.309 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-05/1.86, allocations: 20 kB / 0.6944 GB, free: 8.289 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004646/1.865, allocations: 1.404 MB / 0.6957 GB, free: 6.879 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006338/1.871, allocations: 0.7527 MB / 0.6965 GB, free: 6.125 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00773/1.879, allocations: 4.607 MB / 0.701 GB, free: 1.328 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004829/1.884, allocations: 472.3 kB / 0.7014 GB, free: 0.8633 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.885, allocations: 160 kB / 0.7016 GB, free: 0.707 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.meanpowerA.y,meanpowerA.y,$whenCondition12,$whenCondition11,$whenCondition10,$PRE.rmsiA.mean.y,rmsiA.mean.y,$PRE.rmsvA.mean.y,rmsvA.mean.y,$PRE.meanpowerM[1].y,meanpowerM[1].y,$PRE.meanpowerM[2].y,meanpowerM[2].y,$PRE.meanpowerM[3].y,meanpowerM[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsiM[3].mean.y,rmsiM[3].mean.y,$PRE.rmsiM[2].mean.y,rmsiM[2].mean.y,$PRE.rmsiM[1].mean.y,rmsiM[1].mean.y,$PRE.rmsvM[3].mean.y,rmsvM[3].mean.y,$PRE.rmsvM[2].mean.y,rmsvM[2].mean.y,$PRE.rmsvM[1].mean.y,rmsvM[1].mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (415): * Single equations (assignments): 394 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 2 {6 9,6 45} Notification: Performance of prepare postOptimizeDAE: time 0.001129/1.886, allocations: 346.9 kB / 0.7019 GB, free: 368 kB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009599/1.887, allocations: 245 kB / 0.7021 GB, free: 120 kB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/1.904, allocations: 5.658 MB / 0.7077 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001484/1.904, allocations: 87.84 kB / 0.7077 GB, free: 10.31 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/1.904, allocations: 8 kB / 0.7078 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-05/1.904, allocations: 23.92 kB / 0.7078 GB, free: 10.28 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4198/2.324, allocations: 12.51 MB / 0.72 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.539e-05/2.324, allocations: 3.719 kB / 0.72 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005555/2.33, allocations: 0.5879 MB / 0.7206 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004788/2.334, allocations: 1.368 MB / 0.7219 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001151/2.336, allocations: 108.8 kB / 0.722 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006165/2.342, allocations: 4.563 MB / 0.7265 GB, free: 120.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/2.342, allocations: 3.531 kB / 0.7265 GB, free: 120.3 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02345/2.365, allocations: 9.715 MB / 0.736 GB, free: 119.7 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/2.367, allocations: 404.1 kB / 0.7363 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001448/2.368, allocations: 96.58 kB / 0.7364 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003786/2.372, allocations: 210.2 kB / 0.7366 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/2.373, allocations: 293.8 kB / 0.7369 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004629/2.374, allocations: 127.1 kB / 0.737 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002406/2.376, allocations: 1.087 MB / 0.7381 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.533e-06/2.376, allocations: 0 / 0.7381 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005871/2.382, allocations: 1.265 MB / 0.7393 GB, free: 119.3 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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,rmsvM[2].mean.y,rmsvM[3].mean.y,rmsiM[1].mean.y,rmsiM[2].mean.y,rmsiM[3].mean.y,meanpowerM[1].y,meanpowerM[2].y,meanpowerM[3].y,$whenCondition12,$whenCondition11,$whenCondition10,rmsvA.mean.y,rmsiA.mean.y,meanpowerA.y) * 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 (322): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 2 {6 9,6 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.02509/2.407, allocations: 10.94 MB / 0.75 GB, free: 117.5 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01466/2.422, allocations: 5.569 MB / 0.7554 GB, free: 117.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/2.422, allocations: 6.562 kB / 0.7555 GB, free: 117.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00792/2.43, allocations: 2.942 MB / 0.7583 GB, free: 116.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/2.434, allocations: 416 kB / 0.7587 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/2.462, allocations: 10.2 MB / 0.7687 GB, free: 112.6 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004856/2.467, allocations: 3.454 MB / 0.7721 GB, free: 111.3 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.004897/2.472, allocations: 0.938 MB / 0.773 GB, free: 111.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004171/2.476, allocations: 1.667 MB / 0.7746 GB, free: 109.8 MB / 0.4949 GB Notification: Performance of SimCode: time 1.724e-06/2.476, allocations: 3.406 kB / 0.7746 GB, free: 109.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1821/2.658, allocations: 81.2 MB / 0.8539 GB, free: 44.78 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/2.659, allocations: 181.9 kB / 0.8541 GB, free: 44.55 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.804/7.462, allocations: 0 / 0.8541 GB, free: 44.55 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest_res.mat does not exist to compare? outputFormat=mat