Running command: "" <> buildModelFMU(ModelicaTest.Electrical.MultiSensorTest,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_MultiSensorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.472/2.472, allocations: 270 MB / 283.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.216e-05, allocations: 4 kB / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3947, allocations: 61.87 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.5955, allocations: 110.4 MB / 0.5085 GB, free: 12.17 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.5958, allocations: 67.97 kB / 0.5086 GB, free: 12.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8142/1.41, allocations: 133.8 MB / 0.6393 GB, free: 0.793 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.41, allocations: 0 / 0.6393 GB, free: 0.793 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003302/1.41, allocations: 107.9 kB / 0.6394 GB, free: 0.6875 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.02341/1.434, allocations: 4.656 MB / 0.6439 GB, free: 11.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/1.434, allocations: 12.02 kB / 0.6439 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003041/1.437, allocations: 0.6793 MB / 0.6446 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02146/1.458, allocations: 2.429 MB / 0.647 GB, free: 8.797 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/1.469, allocations: 2.966 MB / 0.6499 GB, free: 5.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005853/1.47, allocations: 353.3 kB / 0.6502 GB, free: 5.422 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002218/1.472, allocations: 487.8 kB / 0.6507 GB, free: 4.945 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0236/1.495, allocations: 7.175 MB / 0.6577 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002537/1.496, allocations: 7.906 kB / 0.6577 GB, free: 13.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001415/1.497, allocations: 204 kB / 0.6579 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005738/1.498, allocations: 332.7 kB / 0.6582 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02053/1.518, allocations: 6.283 MB / 0.6643 GB, free: 6.789 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06286/1.581, allocations: 22.25 MB / 0.6861 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02065/1.602, allocations: 11.71 MB / 0.6975 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004455/1.606, allocations: 1.661 MB / 0.6991 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00041/1.607, allocations: 139.6 kB / 0.6993 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005275/1.612, allocations: 1.973 MB / 0.7012 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=288): time 8.245e-06/1.612, allocations: 3.938 kB / 0.7012 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.009794/1.622, allocations: 3.23 MB / 0.7043 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003524/1.623, allocations: 0.5052 MB / 0.7048 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/1.627, allocations: 1.809 MB / 0.7066 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006596/1.628, allocations: 90.02 kB / 0.7067 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002774/1.631, allocations: 2.004 MB / 0.7086 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001665/1.632, allocations: 0.9591 MB / 0.7096 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004528/1.633, allocations: 79.94 kB / 0.7097 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003918/1.633, allocations: 458.1 kB / 0.7101 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0044/1.638, allocations: 1.553 MB / 0.7116 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006054/1.644, allocations: 2.807 MB / 0.7144 GB, free: 500 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3882/2.032, allocations: 2.136 MB / 0.7164 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.521e-05/2.032, allocations: 11.69 kB / 0.7164 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01417/2.046, allocations: 4.793 MB / 0.7211 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/2.047, allocations: 19.44 kB / 0.7211 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-05/2.047, allocations: 44.75 kB / 0.7212 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/2.048, allocations: 326.3 kB / 0.7215 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006273/2.054, allocations: 0.8386 MB / 0.7223 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008464/2.063, allocations: 7.137 MB / 0.7293 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005121/2.068, allocations: 486.4 kB / 0.7298 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000923/2.069, allocations: 173 kB / 0.7299 GB, free: 106 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.0009584/2.07, allocations: 375.8 kB / 0.7303 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007312/2.071, allocations: 241.3 kB / 0.7305 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009607/2.08, allocations: 2.994 MB / 0.7334 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-05/2.081, allocations: 30.75 kB / 0.7335 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.206e-05/2.081, allocations: 7.25 kB / 0.7335 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001157/2.081, allocations: 17.62 kB / 0.7335 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03085/2.112, allocations: 8.583 MB / 0.7419 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.216e-05/2.112, allocations: 3.75 kB / 0.7419 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004825/2.117, allocations: 0.5103 MB / 0.7424 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/2.118, allocations: 282.8 kB / 0.7426 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006449/2.119, allocations: 78.17 kB / 0.7427 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007617/2.126, allocations: 7.055 MB / 0.7496 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/2.126, allocations: 6.844 kB / 0.7496 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/2.14, allocations: 5.834 MB / 0.7553 GB, free: 98.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009974/2.141, allocations: 372 kB / 0.7557 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/2.143, allocations: 80.64 kB / 0.7557 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003579/2.146, allocations: 171.4 kB / 0.7559 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009002/2.147, allocations: 202.8 kB / 0.7561 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003999/2.148, allocations: 99.34 kB / 0.7562 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003233/2.151, allocations: 1.345 MB / 0.7575 GB, free: 97.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.132e-06/2.151, allocations: 0 / 0.7575 GB, free: 97.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006144/2.157, allocations: 1.27 MB / 0.7587 GB, free: 97.65 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.01541/2.173, allocations: 7.302 MB / 0.7659 GB, free: 95.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01005/2.183, allocations: 4.122 MB / 0.7699 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/2.183, allocations: 0 / 0.7699 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004721/2.188, allocations: 2.141 MB / 0.772 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/2.192, allocations: 410.1 kB / 0.7724 GB, free: 94.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02671/2.219, allocations: 8.873 MB / 0.781 GB, free: 91.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006804/2.225, allocations: 3.419 MB / 0.7844 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007704/2.233, allocations: 1.137 MB / 0.7855 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00561/2.239, allocations: 1.65 MB / 0.7871 GB, free: 88.89 MB / 0.5105 GB Notification: Performance of SimCode: time 3.186e-06/2.239, allocations: 0 / 0.7871 GB, free: 88.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/2.406, allocations: 64.25 MB / 0.8498 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/2.406, allocations: 167.2 kB / 0.85 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.576/6.982, allocations: 3.562 kB / 0.85 GB, free: 43.57 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest_res.mat does not exist to compare? outputFormat=mat