Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.066/2.066, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.662e-05, allocations: 1.375 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1306, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5617, allocations: 77.2 MB / 371.5 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.562, allocations: 74.12 kB / 371.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08187/0.6439, allocations: 20.93 MB / 392.5 MB, free: 16.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6439, allocations: 3.812 kB / 392.5 MB, free: 16.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.676e-05/0.644, allocations: 39.09 kB / 392.5 MB, free: 16.41 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.003836/0.6479, allocations: 1.424 MB / 394 MB, free: 15.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6479, allocations: 11.62 kB / 394 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007608/0.6487, allocations: 179 kB / 394.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.6511, allocations: 0.9191 MB / 395.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.6512, allocations: 42.69 kB / 395.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.6515, allocations: 82.48 kB / 395.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003131/0.6546, allocations: 1.245 MB / 396.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003799/0.6585, allocations: 1.591 MB / 398 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/0.6585, allocations: 3.938 kB / 398 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.6587, allocations: 0 / 398 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.6588, allocations: 34.34 kB / 398.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.6712, allocations: 4.728 MB / 402.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.6725, allocations: 0.9339 MB / 403.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.6737, allocations: 454.6 kB / 404.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/0.6738, allocations: 3.875 kB / 404.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.6738, allocations: 41.41 kB / 404.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 4.167e-06/0.6738, allocations: 0 / 404.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003688/0.6775, allocations: 1.489 MB / 405.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.6776, allocations: 55.25 kB / 405.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.6787, allocations: 0.5498 MB / 406.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.6787, allocations: 29.55 kB / 406.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/0.6793, allocations: 0.6185 MB / 407 MB, free: 10.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.6795, allocations: 153.6 kB / 407.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.6795, allocations: 0 / 407.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.6798, allocations: 370.9 kB / 407.5 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/0.6803, allocations: 246.5 kB / 407.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.6809, allocations: 376.4 kB / 408.1 MB, free: 9.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006601/0.6816, allocations: 319.8 kB / 408.4 MB, free: 9.359 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6816, allocations: 0 / 408.4 MB, free: 9.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001841/0.6835, allocations: 0.7693 MB / 409.2 MB, free: 9.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.6835, allocations: 10.28 kB / 409.2 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.6836, allocations: 7.906 kB / 409.2 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004373/0.684, allocations: 116.1 kB / 409.3 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/0.685, allocations: 108.5 kB / 409.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.6881, allocations: 2.054 MB / 411.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007722/0.6889, allocations: 19.45 kB / 411.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.6889, allocations: 18.75 kB / 411.5 MB, free: 7.613 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.0002104/0.6892, allocations: 112.8 kB / 411.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00156/0.6907, allocations: 0.6024 MB / 412.2 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.6909, allocations: 64.83 kB / 412.3 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.6912, allocations: 74.23 kB / 412.3 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.6912, allocations: 4 kB / 412.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6913, allocations: 0 / 412.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6913, allocations: 0 / 412.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004831/0.6961, allocations: 1.748 MB / 414.1 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.6962, allocations: 4.062 kB / 414.1 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.6969, allocations: 78.05 kB / 414.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004219/0.6973, allocations: 96.66 kB / 414.3 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.6974, allocations: 5.562 kB / 414.3 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/0.7006, allocations: 2.016 MB / 416.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7006, allocations: 4.062 kB / 416.3 MB, free: 3.285 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.703, allocations: 1.084 MB / 417.4 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/0.7035, allocations: 188.4 kB / 417.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.7037, allocations: 4 kB / 417.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.7044, allocations: 39.95 kB / 417.6 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.7046, allocations: 35.91 kB / 417.6 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.7047, allocations: 16 kB / 417.6 MB, free: 1.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009169/0.7056, allocations: 434.8 kB / 418.1 MB, free: 1.426 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7056, allocations: 0 / 418.1 MB, free: 1.426 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001264/0.7069, allocations: 192 kB / 418.3 MB, free: 1.238 MB / 314.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.002914/0.7098, allocations: 1.975 MB / 420.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.7117, allocations: 0.6911 MB / 420.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7117, allocations: 0 / 420.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.7128, allocations: 438.6 kB / 421.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.7143, allocations: 134.1 kB / 421.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006452/0.7208, allocations: 2.187 MB / 423.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.7226, allocations: 1.448 MB / 425.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009297/0.7235, allocations: 161.1 kB / 425.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008741/0.7244, allocations: 407.3 kB / 425.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7244, allocations: 0 / 425.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/0.8271, allocations: 15.31 MB / 441 MB, free: 10.39 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003722/0.8275, allocations: 143.6 kB / 441.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.239/4.066, allocations: 0 / 441.1 MB, free: 10.2 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat