Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.729/1.729, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.098e-05, allocations: 4 kB / 225.1 MB, free: 2.605 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3535, allocations: 38.77 MB / 263.9 MB, free: 9.746 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.5533, allocations: 88.01 MB / 351.9 MB, free: 1.594 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.5537, allocations: 79.95 kB / 351.9 MB, free: 1.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3309/0.8845, allocations: 28.21 MB / 380.2 MB, free: 84.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.8846, allocations: 0 / 380.2 MB, free: 84.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.963e-05/0.8847, allocations: 19.47 kB / 380.2 MB, free: 84.18 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002377/0.8871, allocations: 1.111 MB / 381.3 MB, free: 83.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.8871, allocations: 11.34 kB / 381.3 MB, free: 83.52 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.8874, allocations: 150.9 kB / 381.4 MB, free: 83.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009407/0.8883, allocations: 195.5 kB / 381.6 MB, free: 83.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.8904, allocations: 0.7863 MB / 382.4 MB, free: 83.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.403e-05/0.8905, allocations: 79.78 kB / 382.5 MB, free: 83.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.8907, allocations: 100.8 kB / 382.6 MB, free: 83.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.8927, allocations: 0.8781 MB / 383.5 MB, free: 82.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.541e-05/0.8927, allocations: 1.344 kB / 383.5 MB, free: 82.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.8929, allocations: 44.34 kB / 383.5 MB, free: 82.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.8929, allocations: 25.09 kB / 383.5 MB, free: 82.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.8944, allocations: 0.5795 MB / 384.1 MB, free: 82.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007127/0.9015, allocations: 3.911 MB / 388 MB, free: 79.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008241/0.9024, allocations: 429.6 kB / 388.5 MB, free: 79.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/0.9031, allocations: 244.1 kB / 388.7 MB, free: 79.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.9032, allocations: 3.969 kB / 388.7 MB, free: 79.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.9032, allocations: 37.34 kB / 388.7 MB, free: 79.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.836e-06/0.9032, allocations: 0 / 388.7 MB, free: 79.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.002796/0.906, allocations: 1.195 MB / 389.9 MB, free: 78.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.9061, allocations: 84.81 kB / 390 MB, free: 78.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.9073, allocations: 0.6866 MB / 390.7 MB, free: 78.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.9074, allocations: 35.61 kB / 390.7 MB, free: 78.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.9077, allocations: 0.5751 MB / 391.3 MB, free: 77.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.9078, allocations: 167.8 kB / 391.5 MB, free: 77.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.9079, allocations: 15.84 kB / 391.5 MB, free: 77.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.908, allocations: 333 kB / 391.8 MB, free: 77.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.9084, allocations: 157.5 kB / 392 MB, free: 77.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/0.9089, allocations: 436.5 kB / 392.4 MB, free: 76.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.9094, allocations: 235.1 kB / 392.6 MB, free: 76.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/0.9094, allocations: 5.812 kB / 392.6 MB, free: 76.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00155/0.911, allocations: 0.6765 MB / 393.3 MB, free: 76.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.911, allocations: 8 kB / 393.3 MB, free: 76.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.9111, allocations: 8 kB / 393.3 MB, free: 76.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.9115, allocations: 103.3 kB / 393.4 MB, free: 76.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/0.9124, allocations: 152.3 kB / 393.6 MB, free: 76.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.915, allocations: 3 MB / 396.6 MB, free: 73.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.9161, allocations: 39.97 kB / 396.6 MB, free: 73.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.9162, allocations: 43.69 kB / 396.7 MB, free: 72.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.9164, allocations: 150.5 kB / 396.8 MB, free: 72.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.9166, allocations: 86.92 kB / 396.9 MB, free: 72.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.9178, allocations: 490.1 kB / 397.4 MB, free: 72.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.9178, allocations: 4 kB / 397.4 MB, free: 72.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9178, allocations: 4 kB / 397.4 MB, free: 72.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.9178, allocations: 0 / 397.4 MB, free: 72.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.9205, allocations: 1.426 MB / 398.8 MB, free: 71.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.9205, allocations: 7.703 kB / 398.8 MB, free: 71.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.9211, allocations: 71.02 kB / 398.9 MB, free: 70.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003623/0.9215, allocations: 86.98 kB / 399 MB, free: 70.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.9215, allocations: 8 kB / 399 MB, free: 70.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002534/0.9241, allocations: 2.982 MB / 402 MB, free: 67.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9241, allocations: 3.938 kB / 402 MB, free: 67.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.9257, allocations: 0.8429 MB / 402.8 MB, free: 66.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.9261, allocations: 197.1 kB / 403 MB, free: 66.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.9263, allocations: 18.98 kB / 403 MB, free: 66.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/0.927, allocations: 33.97 kB / 403 MB, free: 66.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.9271, allocations: 38.16 kB / 403.1 MB, free: 66.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.9272, allocations: 12 kB / 403.1 MB, free: 66.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000935/0.9281, allocations: 0.5182 MB / 403.6 MB, free: 66.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9281, allocations: 0 / 403.6 MB, free: 66.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001282/0.9294, allocations: 243.6 kB / 403.8 MB, free: 65.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002137/0.9316, allocations: 2.069 MB / 405.9 MB, free: 63.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.9329, allocations: 0.648 MB / 406.6 MB, free: 63.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9329, allocations: 5.938 kB / 406.6 MB, free: 63.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007487/0.9337, allocations: 424.7 kB / 407 MB, free: 62.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.9353, allocations: 208.4 kB / 407.2 MB, free: 62.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.9391, allocations: 1.471 MB / 408.7 MB, free: 61.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.9397, allocations: 1.032 MB / 409.7 MB, free: 60.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/0.9403, allocations: 377.7 kB / 410.1 MB, free: 59.89 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.9403, allocations: 0 / 410.1 MB, free: 59.89 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.066/4.006, allocations: 25.31 MB / 435.4 MB, free: 35.03 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat