Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 195 MB / 202.8 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.247e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3183, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4576, allocations: 77.22 MB / 371.4 MB, free: 4.641 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.458, allocations: 67.97 kB / 371.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09134/0.5493, allocations: 20.94 MB / 392.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5494, allocations: 0 / 392.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001643/0.5496, allocations: 43.94 kB / 392.5 MB, free: 15.46 MB / 346.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.006464/0.5561, allocations: 1.412 MB / 393.9 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/0.5562, allocations: 12.03 kB / 393.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.5575, allocations: 178.1 kB / 394.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/0.5613, allocations: 0.9273 MB / 395 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.5615, allocations: 44 kB / 395 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004862/0.562, allocations: 80 kB / 395.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005303/0.5673, allocations: 1.239 MB / 396.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006124/0.5735, allocations: 1.601 MB / 398 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.655e-05/0.5736, allocations: 0 / 398 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/0.5739, allocations: 0 / 398 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.864e-05/0.574, allocations: 36 kB / 398 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.5893, allocations: 4.724 MB / 402.7 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.5907, allocations: 0.9394 MB / 403.7 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.5919, allocations: 454.2 kB / 404.1 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.324e-05/0.592, allocations: 4 kB / 404.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.5921, allocations: 42.33 kB / 404.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.446e-06/0.5921, allocations: 0 / 404.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.003692/0.5958, allocations: 1.487 MB / 405.6 MB, free: 1.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5958, allocations: 55.41 kB / 405.7 MB, free: 1.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.597, allocations: 0.5528 MB / 406.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.958e-05/0.5971, allocations: 29.7 kB / 406.3 MB, free: 1.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/0.5976, allocations: 0.6147 MB / 406.9 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.5978, allocations: 157.7 kB / 407 MB, free: 360 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.5979, allocations: 0 / 407 MB, free: 360 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.5981, allocations: 366.8 kB / 407.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.5987, allocations: 249 kB / 407.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.5994, allocations: 376.2 kB / 408 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/0.6002, allocations: 312.5 kB / 408.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.6002, allocations: 4 kB / 408.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00196/0.6022, allocations: 0.7734 MB / 409.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.6022, allocations: 12 kB / 409.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6023, allocations: 4 kB / 409.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004347/0.6027, allocations: 100.8 kB / 409.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/0.6037, allocations: 115.8 kB / 409.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/0.6069, allocations: 2.06 MB / 411.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.6078, allocations: 20.06 kB / 411.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-05/0.6079, allocations: 23.94 kB / 411.4 MB, free: 11.78 MB / 362.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.0002035/0.6081, allocations: 112.9 kB / 411.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001579/0.6097, allocations: 0.5951 MB / 412.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.6099, allocations: 63.2 kB / 412.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.6102, allocations: 69.86 kB / 412.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.6102, allocations: 7.984 kB / 412.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6102, allocations: 4 kB / 412.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6102, allocations: 3.984 kB / 412.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005011/0.6153, allocations: 1.757 MB / 414 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.6153, allocations: 4.156 kB / 414 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008294/0.6162, allocations: 75.89 kB / 414.1 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005105/0.6167, allocations: 88.8 kB / 414.2 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.6168, allocations: 15.92 kB / 414.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003885/0.6207, allocations: 2.013 MB / 416.2 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6208, allocations: 0 / 416.2 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.6237, allocations: 1.081 MB / 417.3 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005925/0.6243, allocations: 192.4 kB / 417.5 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.6245, allocations: 8.062 kB / 417.5 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/0.6254, allocations: 27.97 kB / 417.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.6256, allocations: 43.89 kB / 417.6 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.816e-05/0.6257, allocations: 12 kB / 417.6 MB, free: 5.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.6268, allocations: 442.8 kB / 418 MB, free: 4.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6268, allocations: 0 / 418 MB, free: 4.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001708/0.6285, allocations: 184 kB / 418.2 MB, free: 4.719 MB / 362.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.003807/0.6324, allocations: 1.965 MB / 420.2 MB, free: 2.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.6348, allocations: 0.6872 MB / 420.9 MB, free: 1.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.6348, allocations: 9 kB / 420.9 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.6363, allocations: 437.6 kB / 421.3 MB, free: 1.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.638, allocations: 132.4 kB / 421.4 MB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.257/0.8951, allocations: 2.177 MB / 423.6 MB, free: 101 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.8966, allocations: 1.444 MB / 425 MB, free: 100.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000887/0.8975, allocations: 163 kB / 425.2 MB, free: 100.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007695/0.8983, allocations: 404.7 kB / 425.6 MB, free: 100.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.173e-06/0.8983, allocations: 0 / 425.6 MB, free: 100.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.079/0.9773, allocations: 15.31 MB / 440.9 MB, free: 98.95 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.9776, allocations: 152.8 kB / 441.1 MB, free: 98.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/3.967, allocations: 0 / 441.1 MB, free: 98.75 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat