Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.423e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3249, allocations: 44.5 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.5264, allocations: 92 MB / 386.2 MB, free: 5.934 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.5268, allocations: 87.94 kB / 386.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1102/0.637, allocations: 25.78 MB / 412.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6371, allocations: 3.938 kB / 412.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.154e-05/0.6372, allocations: 24 kB / 412.1 MB, free: 11.88 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002912/0.6401, allocations: 1.098 MB / 413.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.6401, allocations: 11.97 kB / 413.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009443/0.6411, allocations: 182.4 kB / 413.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.6435, allocations: 0.769 MB / 414.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.6435, allocations: 28 kB / 414.2 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.6437, allocations: 56 kB / 414.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001607/0.6454, allocations: 0.5156 MB / 414.8 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.6474, allocations: 0.7396 MB / 415.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-05/0.6475, allocations: 4 kB / 415.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.533e-05/0.6476, allocations: 0 / 415.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.6476, allocations: 24 kB / 415.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008017/0.6556, allocations: 3.759 MB / 419.3 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.6564, allocations: 312.2 kB / 419.6 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.6567, allocations: 117.4 kB / 419.7 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.6567, allocations: 8.281 kB / 419.7 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.6568, allocations: 42.78 kB / 419.8 MB, free: 3.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 3.256e-06/0.6568, allocations: 0 / 419.8 MB, free: 3.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002293/0.6591, allocations: 0.8744 MB / 420.6 MB, free: 2.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.6592, allocations: 85.09 kB / 420.7 MB, free: 2.797 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.6603, allocations: 0.574 MB / 421.3 MB, free: 2.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.6604, allocations: 29.7 kB / 421.3 MB, free: 2.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/0.6609, allocations: 0.5897 MB / 421.9 MB, free: 1.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.6611, allocations: 130.1 kB / 422 MB, free: 1.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.6611, allocations: 0 / 422 MB, free: 1.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6613, allocations: 338.8 kB / 422.4 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.6616, allocations: 109.6 kB / 422.5 MB, free: 1.012 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.6622, allocations: 412.3 kB / 422.9 MB, free: 476 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.6627, allocations: 199.5 kB / 423.1 MB, free: 276 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.6627, allocations: 0 / 423.1 MB, free: 276 kB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.2502/0.9129, allocations: 0.5003 MB / 423.6 MB, free: 96.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.913, allocations: 10.14 kB / 423.6 MB, free: 96.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.913, allocations: 10.47 kB / 423.6 MB, free: 96.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.9133, allocations: 37.06 kB / 423.6 MB, free: 96.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.9144, allocations: 163.2 kB / 423.8 MB, free: 96.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.9156, allocations: 1.245 MB / 425 MB, free: 95.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.9166, allocations: 25 kB / 425.1 MB, free: 95.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/0.9167, allocations: 33.44 kB / 425.1 MB, free: 95.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 84 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.9168, allocations: 135.1 kB / 425.2 MB, free: 95.14 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009074/0.9178, allocations: 304.6 kB / 425.5 MB, free: 95.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.9179, allocations: 76.41 kB / 425.6 MB, free: 95.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/0.9188, allocations: 311.2 kB / 425.9 MB, free: 95.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.9188, allocations: 3.781 kB / 425.9 MB, free: 95.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9188, allocations: 2.953 kB / 425.9 MB, free: 95.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.9188, allocations: 8.875 kB / 425.9 MB, free: 95.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.9212, allocations: 1.053 MB / 427 MB, free: 94.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.9212, allocations: 1.938 kB / 427 MB, free: 94.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/0.9219, allocations: 77.47 kB / 427 MB, free: 94.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.9221, allocations: 23.73 kB / 427.1 MB, free: 94.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.9221, allocations: 6.969 kB / 427.1 MB, free: 94.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008697/0.923, allocations: 1.228 MB / 428.3 MB, free: 93.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.923, allocations: 2.25 kB / 428.3 MB, free: 93.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.9242, allocations: 0.6467 MB / 428.9 MB, free: 93.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.9246, allocations: 170.5 kB / 429.1 MB, free: 93.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.9248, allocations: 7.953 kB / 429.1 MB, free: 93.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.9254, allocations: 19.66 kB / 429.1 MB, free: 93.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.9256, allocations: 35.33 kB / 429.2 MB, free: 93.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.9256, allocations: 14.03 kB / 429.2 MB, free: 93.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008379/0.9264, allocations: 429.1 kB / 429.6 MB, free: 92.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.9265, allocations: 1.438 kB / 429.6 MB, free: 92.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001307/0.9278, allocations: 179.2 kB / 429.8 MB, free: 92.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001911/0.9297, allocations: 1.819 MB / 431.6 MB, free: 91.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.9309, allocations: 435.5 kB / 432 MB, free: 91.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.931, allocations: 5.047 kB / 432 MB, free: 91.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.9314, allocations: 235.3 kB / 432.3 MB, free: 91.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.9329, allocations: 172.6 kB / 432.4 MB, free: 91.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.9373, allocations: 1.39 MB / 433.8 MB, free: 90.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.9381, allocations: 1.015 MB / 434.8 MB, free: 90.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/0.9388, allocations: 368 kB / 435.2 MB, free: 90.13 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.9388, allocations: 1.094 kB / 435.2 MB, free: 90.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.159/4.098, allocations: 19.63 MB / 454.8 MB, free: 87.32 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat