Running command: "" <> buildModelFMU(ModelicaTest.Electrical.MultiSensorTest,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_MultiSensorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 270 MB / 283.6 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.179e-05, allocations: 0 / 348.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3906, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.5875, allocations: 110.4 MB / 0.5085 GB, free: 12.07 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.5877, allocations: 67.97 kB / 0.5086 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7748/1.363, allocations: 133.8 MB / 0.6393 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.363, allocations: 0 / 0.6393 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002817/1.363, allocations: 111.9 kB / 0.6394 GB, free: 480 kB / 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.02222/1.385, allocations: 4.66 MB / 0.6439 GB, free: 11.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/1.385, allocations: 8.031 kB / 0.644 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003018/1.388, allocations: 0.6793 MB / 0.6446 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/1.41, allocations: 2.433 MB / 0.647 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/1.42, allocations: 2.962 MB / 0.6499 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005885/1.421, allocations: 361.3 kB / 0.6502 GB, free: 5.195 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002292/1.423, allocations: 479.8 kB / 0.6507 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02464/1.448, allocations: 7.179 MB / 0.6577 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002237/1.448, allocations: 7.906 kB / 0.6577 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001289/1.449, allocations: 200 kB / 0.6579 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005621/1.45, allocations: 336.7 kB / 0.6582 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/1.47, allocations: 6.283 MB / 0.6644 GB, free: 6.566 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06136/1.532, allocations: 22.24 MB / 0.6861 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02045/1.552, allocations: 11.71 MB / 0.6975 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004414/1.557, allocations: 1.673 MB / 0.6991 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004011/1.557, allocations: 139.7 kB / 0.6993 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005428/1.563, allocations: 1.973 MB / 0.7012 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=288): time 7.294e-06/1.563, allocations: 0 / 0.7012 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.009885/1.573, allocations: 3.226 MB / 0.7044 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003837/1.573, allocations: 0.513 MB / 0.7049 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004831/1.578, allocations: 1.813 MB / 0.7066 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006695/1.579, allocations: 93.62 kB / 0.7067 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003017/1.582, allocations: 2 MB / 0.7087 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001778/1.583, allocations: 0.9668 MB / 0.7096 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005419/1.584, allocations: 76 kB / 0.7097 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004249/1.584, allocations: 458.1 kB / 0.7101 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004538/1.589, allocations: 1.55 MB / 0.7116 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006301/1.595, allocations: 2.811 MB / 0.7144 GB, free: 268 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4077/2.003, allocations: 2.128 MB / 0.7165 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.888e-05/2.003, allocations: 12.72 kB / 0.7165 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01337/2.017, allocations: 4.795 MB / 0.7211 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/2.017, allocations: 22.16 kB / 0.7212 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.599e-05/2.017, allocations: 36.91 kB / 0.7212 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/2.018, allocations: 331.6 kB / 0.7215 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006155/2.024, allocations: 0.8354 MB / 0.7223 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008011/2.032, allocations: 7.127 MB / 0.7293 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/2.037, allocations: 489.5 kB / 0.7298 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006717/2.038, allocations: 170.8 kB / 0.7299 GB, free: 106.9 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.0008485/2.038, allocations: 373.9 kB / 0.7303 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006359/2.039, allocations: 245.3 kB / 0.7305 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007281/2.046, allocations: 2.99 MB / 0.7334 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/2.046, allocations: 31.22 kB / 0.7335 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/2.046, allocations: 7 kB / 0.7335 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-05/2.047, allocations: 18.14 kB / 0.7335 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02091/2.067, allocations: 8.592 MB / 0.7419 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/2.068, allocations: 7.531 kB / 0.7419 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004228/2.072, allocations: 0.5044 MB / 0.7424 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/2.073, allocations: 280.2 kB / 0.7426 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003176/2.073, allocations: 77.83 kB / 0.7427 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007123/2.08, allocations: 7.059 MB / 0.7496 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/2.08, allocations: 3.219 kB / 0.7496 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/2.097, allocations: 5.833 MB / 0.7553 GB, free: 99.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/2.098, allocations: 366.9 kB / 0.7557 GB, free: 98.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008719/2.099, allocations: 85.39 kB / 0.7557 GB, free: 98.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/2.102, allocations: 175.7 kB / 0.7559 GB, free: 98.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/2.103, allocations: 200.8 kB / 0.7561 GB, free: 98.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003748/2.103, allocations: 101.8 kB / 0.7562 GB, free: 98.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00415/2.107, allocations: 1.346 MB / 0.7575 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.364e-06/2.107, allocations: 0 / 0.7575 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008258/2.116, allocations: 1.271 MB / 0.7588 GB, free: 98.61 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.01909/2.135, allocations: 7.295 MB / 0.7659 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01272/2.148, allocations: 4.119 MB / 0.7699 GB, free: 96.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/2.148, allocations: 3.562 kB / 0.7699 GB, free: 96.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006182/2.154, allocations: 2.137 MB / 0.772 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/2.159, allocations: 416.6 kB / 0.7724 GB, free: 95.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/2.183, allocations: 8.873 MB / 0.7811 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00428/2.187, allocations: 3.426 MB / 0.7844 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005249/2.193, allocations: 1.13 MB / 0.7855 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004317/2.197, allocations: 1.652 MB / 0.7871 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of SimCode: time 1.763e-06/2.197, allocations: 0 / 0.7871 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/2.338, allocations: 64.24 MB / 0.8499 GB, free: 44.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/2.339, allocations: 175.3 kB / 0.85 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.448/6.786, allocations: 0 / 0.85 GB, free: 44.09 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest_res.mat does not exist to compare? outputFormat=mat