Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.661/1.661, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.181e-05, allocations: 4 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2515, allocations: 38.77 MB / 263.8 MB, free: 9.75 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/0.4307, allocations: 105 MB / 368.9 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/0.4311, allocations: 83.95 kB / 369 MB, free: 476 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4423/0.8733, allocations: 61.6 MB / 430.6 MB, free: 44.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.8734, allocations: 4 kB / 430.6 MB, free: 44.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002534/0.8737, allocations: 71.94 kB / 430.6 MB, free: 44.84 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: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.008871/0.8825, allocations: 2.998 MB / 433.6 MB, free: 41.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.8826, allocations: 8.031 kB / 433.6 MB, free: 41.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001161/0.8838, allocations: 446.2 kB / 434.1 MB, free: 41.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.8859, allocations: 479.5 kB / 434.5 MB, free: 40.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/0.8914, allocations: 1.986 MB / 436.5 MB, free: 38.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.8917, allocations: 383.8 kB / 436.9 MB, free: 38.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006047/0.8923, allocations: 279.9 kB / 437.2 MB, free: 38.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007966/0.9003, allocations: 3.589 MB / 440.8 MB, free: 34.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.712e-05/0.9004, allocations: 15.89 kB / 440.8 MB, free: 34.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/0.9009, allocations: 128 kB / 440.9 MB, free: 34.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/0.901, allocations: 109.5 kB / 441 MB, free: 34.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006851/0.9079, allocations: 2.821 MB / 443.8 MB, free: 31.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03364/0.9415, allocations: 11.78 MB / 455.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005877/0.9475, allocations: 2.774 MB / 458.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00353/0.951, allocations: 1.105 MB / 459.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005471/0.9516, allocations: 142.4 kB / 459.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003387/0.955, allocations: 1.116 MB / 460.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=155): time 5.981e-06/0.9551, allocations: 4 kB / 460.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=179): time 0.03859/0.9937, allocations: 7.967 MB / 468.7 MB, free: 5.746 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.9939, allocations: 330.4 kB / 469 MB, free: 5.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004988/0.9989, allocations: 1.752 MB / 470.8 MB, free: 3.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004658/0.9994, allocations: 69.69 kB / 470.9 MB, free: 3.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/1.001, allocations: 1.265 MB / 472.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.002, allocations: 0.5931 MB / 472.7 MB, free: 1.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/1.002, allocations: 40 kB / 472.8 MB, free: 1.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/1.003, allocations: 390.8 kB / 473.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/1.005, allocations: 0.9958 MB / 474.1 MB, free: 180 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/1.009, allocations: 1.541 MB / 475.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/1.012, allocations: 1.208 MB / 476.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/1.012, allocations: 0 / 476.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01003/1.022, allocations: 3.474 MB / 480.4 MB, free: 9.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/1.022, allocations: 8 kB / 480.4 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/1.022, allocations: 19.98 kB / 480.4 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005125/1.027, allocations: 1.186 MB / 481.6 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/1.03, allocations: 383.3 kB / 481.9 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02544/1.056, allocations: 14.54 MB / 496.5 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/1.059, allocations: 179.8 kB / 496.7 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/1.059, allocations: 79.98 kB / 496.7 MB, free: 8.492 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,100.0%) 14,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005908/1.06, allocations: 241.3 kB / 497 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005719/1.061, allocations: 237.2 kB / 497.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/1.071, allocations: 3.38 MB / 0.4888 GB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/1.071, allocations: 16 kB / 0.4889 GB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.071, allocations: 4 kB / 0.4889 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/1.071, allocations: 11.97 kB / 0.4889 GB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2492/1.321, allocations: 6.645 MB / 0.4954 GB, free: 77.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/1.321, allocations: 6.719 kB / 0.4954 GB, free: 77.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/1.322, allocations: 203.2 kB / 0.4956 GB, free: 77.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005526/1.328, allocations: 1.386 MB / 0.4969 GB, free: 77.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/1.328, allocations: 49.11 kB / 0.497 GB, free: 77.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02359/1.352, allocations: 14.56 MB / 0.5112 GB, free: 70.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.352, allocations: 8.359 kB / 0.5112 GB, free: 70.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.363, allocations: 4.886 MB / 0.516 GB, free: 70.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/1.364, allocations: 0.5186 MB / 0.5165 GB, free: 69.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005053/1.365, allocations: 52.72 kB / 0.5165 GB, free: 69.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/1.367, allocations: 140 kB / 0.5167 GB, free: 69.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007069/1.368, allocations: 233.2 kB / 0.5169 GB, free: 69.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.368, allocations: 54.52 kB / 0.5169 GB, free: 69.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002652/1.371, allocations: 1.347 MB / 0.5182 GB, free: 69.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.371, allocations: 3.812 kB / 0.5182 GB, free: 69.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0033/1.374, allocations: 0.7562 MB / 0.519 GB, free: 69.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01167/1.386, allocations: 6.296 MB / 0.5251 GB, free: 67.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008044/1.394, allocations: 3.558 MB / 0.5286 GB, free: 66.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.394, allocations: 0 / 0.5286 GB, free: 66.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005548/1.399, allocations: 2.316 MB / 0.5309 GB, free: 64.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/1.403, allocations: 0.5056 MB / 0.5314 GB, free: 64.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.42, allocations: 5.827 MB / 0.5371 GB, free: 62.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002254/1.422, allocations: 2.256 MB / 0.5393 GB, free: 61.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/1.424, allocations: 1.132 MB / 0.5404 GB, free: 60.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/1.424, allocations: 0 / 0.5404 GB, free: 60.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.674/6.098, allocations: 131.3 MB / 0.6686 GB, free: 81.24 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat