Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.42e-05/5.443e-05, allocations: 7.984 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2974, allocations: 38.76 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.45, allocations: 88.02 MB / 351.9 MB, free: 1.559 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.4504, allocations: 87.89 kB / 352 MB, free: 1.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3697/0.8201, allocations: 28.2 MB / 380.2 MB, free: 84.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.8202, allocations: 3.234 kB / 380.2 MB, free: 84.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.818e-05/0.8203, allocations: 21.56 kB / 380.2 MB, free: 84.2 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.002833/0.8231, allocations: 1.109 MB / 381.3 MB, free: 83.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.8232, allocations: 11.69 kB / 381.3 MB, free: 83.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003432/0.8236, allocations: 151.9 kB / 381.5 MB, free: 83.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.8246, allocations: 191.5 kB / 381.7 MB, free: 83.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.827, allocations: 0.792 MB / 382.5 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/0.8272, allocations: 72.78 kB / 382.5 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.8274, allocations: 98 kB / 382.6 MB, free: 83.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.8297, allocations: 0.8781 MB / 383.5 MB, free: 82.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.8298, allocations: 3.938 kB / 383.5 MB, free: 82.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.8299, allocations: 41.97 kB / 383.5 MB, free: 82.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.83, allocations: 25.81 kB / 383.6 MB, free: 82.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.8316, allocations: 0.5765 MB / 384.1 MB, free: 82.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007878/0.8395, allocations: 3.916 MB / 388.1 MB, free: 79.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008629/0.8404, allocations: 424.8 kB / 388.5 MB, free: 79.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/0.8411, allocations: 247.7 kB / 388.7 MB, free: 79.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.8412, allocations: 6.594 kB / 388.7 MB, free: 79.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.8412, allocations: 33.81 kB / 388.8 MB, free: 79.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.727e-06/0.8412, allocations: 0 / 388.8 MB, free: 79.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.003335/0.8446, allocations: 1.207 MB / 390 MB, free: 78.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.8447, allocations: 88.19 kB / 390.1 MB, free: 78.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.8461, allocations: 0.6818 MB / 390.7 MB, free: 78.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/0.8462, allocations: 33.64 kB / 390.8 MB, free: 78.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.8466, allocations: 0.5606 MB / 391.3 MB, free: 77.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.8468, allocations: 164.4 kB / 391.5 MB, free: 77.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.8468, allocations: 14.62 kB / 391.5 MB, free: 77.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.8469, allocations: 334.2 kB / 391.8 MB, free: 77.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.8473, allocations: 160.9 kB / 392 MB, free: 77.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.8479, allocations: 437 kB / 392.4 MB, free: 77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.8484, allocations: 229 kB / 392.6 MB, free: 76.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.8484, allocations: 7.219 kB / 392.6 MB, free: 76.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001844/0.8503, allocations: 0.7324 MB / 393.4 MB, free: 76.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.8504, allocations: 8 kB / 393.4 MB, free: 76.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.8504, allocations: 8 kB / 393.4 MB, free: 76.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004508/0.8508, allocations: 100.2 kB / 393.5 MB, free: 76.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009661/0.8518, allocations: 159.2 kB / 393.6 MB, free: 76.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/0.8546, allocations: 2.994 MB / 396.6 MB, free: 73.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.8558, allocations: 35.52 kB / 396.7 MB, free: 73.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.8559, allocations: 32 kB / 396.7 MB, free: 72.99 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.0001814/0.8561, allocations: 156.8 kB / 396.9 MB, free: 72.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.8562, allocations: 94.39 kB / 397 MB, free: 72.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.8575, allocations: 487.2 kB / 397.4 MB, free: 72.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.8575, allocations: 8 kB / 397.4 MB, free: 72.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.8576, allocations: 7.188 kB / 397.4 MB, free: 72.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.8576, allocations: 3.844 kB / 397.4 MB, free: 72.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.8605, allocations: 1.419 MB / 398.9 MB, free: 71.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.8605, allocations: 4 kB / 398.9 MB, free: 71.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.8611, allocations: 75.17 kB / 398.9 MB, free: 70.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000396/0.8615, allocations: 87.91 kB / 399 MB, free: 70.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.8616, allocations: 12 kB / 399 MB, free: 70.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002601/0.8642, allocations: 2.979 MB / 402 MB, free: 67.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.8642, allocations: 0 / 402 MB, free: 67.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.8659, allocations: 0.8534 MB / 402.9 MB, free: 66.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.8664, allocations: 194.5 kB / 403.1 MB, free: 66.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.8666, allocations: 11.94 kB / 403.1 MB, free: 66.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007424/0.8673, allocations: 34.28 kB / 403.1 MB, free: 66.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.8675, allocations: 40.92 kB / 403.1 MB, free: 66.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.8675, allocations: 16 kB / 403.2 MB, free: 66.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009694/0.8685, allocations: 0.5195 MB / 403.7 MB, free: 66.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.8685, allocations: 0 / 403.7 MB, free: 66.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001498/0.87, allocations: 243.3 kB / 403.9 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.002287/0.8724, allocations: 2.079 MB / 406 MB, free: 63.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.8738, allocations: 0.6424 MB / 406.6 MB, free: 63.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8739, allocations: 4.062 kB / 406.6 MB, free: 63.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007956/0.8747, allocations: 417.4 kB / 407.1 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.001768/0.8765, allocations: 216.5 kB / 407.3 MB, free: 62.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.8807, allocations: 1.433 MB / 408.7 MB, free: 61.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.8813, allocations: 1.031 MB / 409.7 MB, free: 60.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007996/0.8821, allocations: 107.9 kB / 409.8 MB, free: 60.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/0.8828, allocations: 375.3 kB / 410.2 MB, free: 59.86 MB / 314.7 MB Notification: Performance of SimCode: time 2.185e-06/0.8828, allocations: 0 / 410.2 MB, free: 59.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06478/0.9476, allocations: 20.58 MB / 430.8 MB, free: 39.68 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/0.9479, allocations: 184 kB / 431 MB, free: 39.45 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.594/4.542, allocations: 0 / 431 MB, free: 39.45 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat