Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.202e-05, allocations: 7.094 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09594, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5341, allocations: 77.87 MB / 377.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5344, allocations: 78.91 kB / 377.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07741/0.6118, allocations: 21.16 MB / 399 MB, free: 9.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6119, allocations: 0 / 399 MB, free: 9.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001069/0.612, allocations: 35.31 kB / 399.1 MB, free: 9.988 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.004263/0.6163, allocations: 1.422 MB / 400.5 MB, free: 9.086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.6163, allocations: 15.47 kB / 400.5 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005905/0.6169, allocations: 210.8 kB / 400.7 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.6177, allocations: 174.2 kB / 400.9 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.6202, allocations: 0.9276 MB / 401.8 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.6204, allocations: 110.1 kB / 401.9 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003055/0.6207, allocations: 132.4 kB / 402 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004308/0.625, allocations: 1.794 MB / 403.8 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/0.6251, allocations: 0 / 403.8 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.6253, allocations: 60.34 kB / 403.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.6253, allocations: 34.84 kB / 403.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/0.6289, allocations: 1.308 MB / 405.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.6409, allocations: 5.008 MB / 410.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.6421, allocations: 0.9508 MB / 411.2 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.6432, allocations: 471.1 kB / 411.7 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.6433, allocations: 11.09 kB / 411.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.6434, allocations: 41.81 kB / 411.7 MB, free: 4.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.635e-06/0.6434, allocations: 0 / 411.7 MB, free: 4.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003539/0.6469, allocations: 1.556 MB / 413.3 MB, free: 4.203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.647, allocations: 55.28 kB / 413.3 MB, free: 4.141 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.6481, allocations: 0.6011 MB / 413.9 MB, free: 3.949 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.6482, allocations: 33.05 kB / 414 MB, free: 3.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.6485, allocations: 0.643 MB / 414.6 MB, free: 3.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.6487, allocations: 154.2 kB / 414.8 MB, free: 3.336 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.6487, allocations: 10.44 kB / 414.8 MB, free: 3.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.6488, allocations: 329.8 kB / 415.1 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.6493, allocations: 258.1 kB / 415.3 MB, free: 2.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.65, allocations: 399 kB / 415.7 MB, free: 2.793 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/0.6506, allocations: 323.5 kB / 416 MB, free: 2.723 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6506, allocations: 0 / 416 MB, free: 2.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001658/0.6523, allocations: 0.7905 MB / 416.8 MB, free: 2.512 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.6524, allocations: 9 kB / 416.8 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6524, allocations: 7.828 kB / 416.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004237/0.6528, allocations: 106 kB / 417 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008653/0.6537, allocations: 116.5 kB / 417.1 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.6564, allocations: 2.137 MB / 419.2 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007585/0.6572, allocations: 29.92 kB / 419.2 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.6573, allocations: 19.16 kB / 419.3 MB, free: 0.918 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.6574, allocations: 143.1 kB / 419.4 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.6576, allocations: 65.95 kB / 419.5 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.6579, allocations: 81.28 kB / 419.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6579, allocations: 3.906 kB / 419.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6579, allocations: 0 / 419.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.6579, allocations: 0 / 419.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.6625, allocations: 1.988 MB / 421.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.6625, allocations: 7.703 kB / 421.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.6631, allocations: 77.02 kB / 421.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003804/0.6635, allocations: 98.02 kB / 421.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.6636, allocations: 18.45 kB / 421.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.6664, allocations: 2.076 MB / 423.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6665, allocations: 0 / 423.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.6687, allocations: 1.119 MB / 424.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/0.6693, allocations: 194.5 kB / 425.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.6694, allocations: 15.75 kB / 425.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/0.6701, allocations: 39.56 kB / 425.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.6703, allocations: 47.17 kB / 425.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.6703, allocations: 7.75 kB / 425.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009115/0.6712, allocations: 485.5 kB / 425.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6712, allocations: 0 / 425.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001096/0.6723, allocations: 205.8 kB / 425.9 MB, free: 13.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002673/0.675, allocations: 2.022 MB / 427.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.6768, allocations: 0.7244 MB / 428.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6769, allocations: 1.062 kB / 428.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.6779, allocations: 464.9 kB / 429.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.6793, allocations: 143.2 kB / 429.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00598/0.6853, allocations: 2.193 MB / 431.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.6868, allocations: 1.416 MB / 432.8 MB, free: 8.652 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008894/0.6877, allocations: 405.8 kB / 433.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6877, allocations: 0 / 433.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.134/3.822, allocations: 25.41 MB / 458.6 MB, free: 2.652 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat