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.796/1.796, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.044e-05, allocations: 4 kB / 225.1 MB, free: 2.602 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2551, allocations: 38.77 MB / 263.9 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.4579, allocations: 105 MB / 368.9 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004033/0.4583, allocations: 83.94 kB / 369 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4661/0.9245, allocations: 61.61 MB / 430.6 MB, free: 45.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.9245, allocations: 0 / 430.6 MB, free: 45.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002942/0.9248, allocations: 75.94 kB / 430.7 MB, free: 45.04 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.01062/0.9354, allocations: 2.998 MB / 433.7 MB, free: 41.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.9355, allocations: 12.03 kB / 433.7 MB, free: 41.96 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001814/0.9373, allocations: 442.2 kB / 434.1 MB, free: 41.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/0.9401, allocations: 479.5 kB / 434.6 MB, free: 41.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006092/0.9462, allocations: 1.99 MB / 436.6 MB, free: 39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.9466, allocations: 379.8 kB / 436.9 MB, free: 38.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009559/0.9476, allocations: 283.9 kB / 437.2 MB, free: 38.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009238/0.9568, allocations: 3.551 MB / 440.8 MB, free: 34.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.957, allocations: 11.89 kB / 440.8 MB, free: 34.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004409/0.9575, allocations: 124 kB / 440.9 MB, free: 34.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.9576, allocations: 109.5 kB / 441 MB, free: 34.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008056/0.9657, allocations: 2.783 MB / 443.8 MB, free: 31.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/0.9942, allocations: 11.79 MB / 455.6 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004298/0.9985, allocations: 2.758 MB / 458.3 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/1.001, allocations: 1.101 MB / 459.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/1.001, allocations: 142.3 kB / 459.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002204/1.004, allocations: 1.118 MB / 460.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=155): time 4.098e-06/1.004, allocations: 0 / 460.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=179): time 0.02868/1.032, allocations: 7.957 MB / 468.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.032, allocations: 338.4 kB / 469 MB, free: 5.656 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003671/1.036, allocations: 1.749 MB / 470.7 MB, free: 3.867 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004503/1.037, allocations: 65.69 kB / 470.8 MB, free: 3.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001103/1.038, allocations: 1.265 MB / 472.1 MB, free: 2.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006315/1.038, allocations: 0.597 MB / 472.6 MB, free: 1.914 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/1.039, allocations: 40 kB / 472.7 MB, free: 1.875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/1.039, allocations: 390.8 kB / 473.1 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/1.041, allocations: 0.9958 MB / 474.1 MB, free: 496 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/1.044, allocations: 1.529 MB / 475.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/1.047, allocations: 1.2 MB / 476.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/1.047, allocations: 4 kB / 476.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01025/1.057, allocations: 3.439 MB / 480.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/1.057, allocations: 12 kB / 480.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/1.058, allocations: 12 kB / 480.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005081/1.063, allocations: 1.19 MB / 481.4 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/1.066, allocations: 383.3 kB / 481.8 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02489/1.09, allocations: 14.53 MB / 496.4 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/1.094, allocations: 175.9 kB / 496.5 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/1.094, allocations: 87.92 kB / 496.6 MB, free: 8.852 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.0005827/1.095, allocations: 237.2 kB / 496.8 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005537/1.095, allocations: 237.1 kB / 497.1 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/1.106, allocations: 3.388 MB / 0.4887 GB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.106, allocations: 16 kB / 0.4888 GB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.106, allocations: 0 / 0.4888 GB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/1.106, allocations: 7.969 kB / 0.4888 GB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2558/1.362, allocations: 6.642 MB / 0.4952 GB, free: 77.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/1.362, allocations: 3.375 kB / 0.4952 GB, free: 77.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.364, allocations: 202 kB / 0.4954 GB, free: 77.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005727/1.369, allocations: 1.392 MB / 0.4968 GB, free: 77.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/1.37, allocations: 50.66 kB / 0.4968 GB, free: 77.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02422/1.394, allocations: 14.57 MB / 0.5111 GB, free: 70.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.394, allocations: 3.938 kB / 0.5111 GB, free: 70.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/1.406, allocations: 4.879 MB / 0.5158 GB, free: 70.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.407, allocations: 0.5201 MB / 0.5164 GB, free: 70.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007716/1.408, allocations: 49.92 kB / 0.5164 GB, free: 70.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.411, allocations: 140 kB / 0.5165 GB, free: 70.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007961/1.412, allocations: 239.4 kB / 0.5168 GB, free: 70.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/1.412, allocations: 51.56 kB / 0.5168 GB, free: 70.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002984/1.415, allocations: 1.339 MB / 0.5181 GB, free: 69.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.415, allocations: 3.781 kB / 0.5181 GB, free: 69.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004339/1.419, allocations: 0.7644 MB / 0.5189 GB, free: 69.92 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.01286/1.432, allocations: 6.297 MB / 0.525 GB, free: 68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008443/1.441, allocations: 3.479 MB / 0.5284 GB, free: 66.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.441, allocations: 3.594 kB / 0.5284 GB, free: 66.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005924/1.447, allocations: 2.256 MB / 0.5306 GB, free: 65.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/1.451, allocations: 0.497 MB / 0.5311 GB, free: 65.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/1.47, allocations: 5.818 MB / 0.5368 GB, free: 63.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/1.472, allocations: 2.248 MB / 0.539 GB, free: 62.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/1.475, allocations: 1.138 MB / 0.5401 GB, free: 61.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/1.475, allocations: 0 / 0.5401 GB, free: 61.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.559/6.034, allocations: 131.1 MB / 0.6681 GB, free: 81.95 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