Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.66e-05, allocations: 0 / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 50.4 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5096/0.6232, allocations: 116.2 MB / 458.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.6235, allocations: 85.08 kB / 458.9 MB, free: 10.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2787/0.9022, allocations: 62.75 MB / 0.5095 GB, free: 15.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.9023, allocations: 0 / 0.5095 GB, free: 15.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004181/0.9027, allocations: 75.94 kB / 0.5095 GB, free: 15.43 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.01238/0.9151, allocations: 3.026 MB / 0.5125 GB, free: 12.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.9152, allocations: 8.031 kB / 0.5125 GB, free: 12.33 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002125/0.9174, allocations: 450.3 kB / 0.5129 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/0.9208, allocations: 483.5 kB / 0.5134 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007958/0.9288, allocations: 2.072 MB / 0.5154 GB, free: 9.277 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004964/0.9293, allocations: 383.9 kB / 0.5158 GB, free: 8.863 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.9305, allocations: 279.9 kB / 0.516 GB, free: 8.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.9428, allocations: 3.555 MB / 0.5195 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001462/0.943, allocations: 11.84 kB / 0.5195 GB, free: 4.875 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007032/0.9437, allocations: 124 kB / 0.5196 GB, free: 4.754 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/0.9439, allocations: 113.5 kB / 0.5197 GB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009792/0.9537, allocations: 2.783 MB / 0.5225 GB, free: 1.852 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3319/1.286, allocations: 11.97 MB / 0.5342 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/1.291, allocations: 2.761 MB / 0.5369 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/1.294, allocations: 1.1 MB / 0.5379 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005031/1.295, allocations: 140.5 kB / 0.5381 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003178/1.298, allocations: 1.117 MB / 0.5392 GB, free: 100.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 7.224e-06/1.298, allocations: 3.938 kB / 0.5392 GB, free: 100.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.03299/1.331, allocations: 8.006 MB / 0.547 GB, free: 99.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.331, allocations: 315 kB / 0.5473 GB, free: 98.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004542/1.336, allocations: 1.832 MB / 0.5491 GB, free: 98.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004954/1.336, allocations: 68.8 kB / 0.5491 GB, free: 98.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.338, allocations: 1.28 MB / 0.5504 GB, free: 98.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009862/1.339, allocations: 0.6048 MB / 0.551 GB, free: 97.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/1.339, allocations: 40.06 kB / 0.551 GB, free: 97.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/1.339, allocations: 398.5 kB / 0.5514 GB, free: 97.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/1.342, allocations: 1.003 MB / 0.5524 GB, free: 97.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/1.345, allocations: 1.533 MB / 0.5539 GB, free: 97.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/1.348, allocations: 1.216 MB / 0.5551 GB, free: 96.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/1.348, allocations: 5.312 kB / 0.5551 GB, free: 96.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008969/1.357, allocations: 3.395 MB / 0.5584 GB, free: 96.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001134/1.358, allocations: 5.147 MB / 0.5634 GB, free: 91.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/1.358, allocations: 13.72 kB / 0.5634 GB, free: 91.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005009/1.363, allocations: 1.188 MB / 0.5646 GB, free: 91.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/1.366, allocations: 378.8 kB / 0.5649 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/1.388, allocations: 14.57 MB / 0.5792 GB, free: 80.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003801/1.391, allocations: 171.8 kB / 0.5793 GB, free: 80.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000456/1.392, allocations: 83.94 kB / 0.5794 GB, free: 80.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.392, allocations: 3.656 kB / 0.5794 GB, free: 80.35 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008587/1.401, allocations: 3.307 MB / 0.5826 GB, free: 79.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-05/1.401, allocations: 14.91 kB / 0.5827 GB, free: 79.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004123/1.405, allocations: 1.17 MB / 0.5838 GB, free: 78.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/1.408, allocations: 379.9 kB / 0.5842 GB, free: 78.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/1.429, allocations: 14.66 MB / 0.5985 GB, free: 68.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/1.432, allocations: 160.5 kB / 0.5986 GB, free: 68.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003266/1.432, allocations: 79.92 kB / 0.5987 GB, free: 68.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 205 * 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.000658/1.433, allocations: 252.2 kB / 0.5989 GB, free: 67.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008879/1.434, allocations: 235.2 kB / 0.5992 GB, free: 67.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.444, allocations: 3.413 MB / 0.6025 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.444, allocations: 16.72 kB / 0.6025 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.444, allocations: 2.719 kB / 0.6025 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-05/1.444, allocations: 11.06 kB / 0.6025 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/1.463, allocations: 6.677 MB / 0.6091 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/1.463, allocations: 0 / 0.6091 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/1.465, allocations: 211 kB / 0.6093 GB, free: 63.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005976/1.471, allocations: 1.395 MB / 0.6106 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003704/1.471, allocations: 45.28 kB / 0.6107 GB, free: 63.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02721/1.499, allocations: 14.69 MB / 0.625 GB, free: 51.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.499, allocations: 4 kB / 0.625 GB, free: 51.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/1.516, allocations: 4.877 MB / 0.6298 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002671/1.519, allocations: 0.5322 MB / 0.6303 GB, free: 46.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.52, allocations: 54.34 kB / 0.6303 GB, free: 46.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004492/1.524, allocations: 138.1 kB / 0.6305 GB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/1.526, allocations: 230.6 kB / 0.6307 GB, free: 46.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002749/1.526, allocations: 51.75 kB / 0.6307 GB, free: 46.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004852/1.531, allocations: 1.406 MB / 0.6321 GB, free: 45.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.313e-06/1.531, allocations: 4 kB / 0.6321 GB, free: 45.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01039/1.541, allocations: 1.254 MB / 0.6334 GB, free: 43.9 MB / 442.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.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * 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 52,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01823/1.56, allocations: 6.304 MB / 0.6395 GB, free: 38.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02117/1.581, allocations: 6.098 MB / 0.6455 GB, free: 32.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/1.581, allocations: 7.938 kB / 0.6455 GB, free: 32.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009563/1.591, allocations: 2.27 MB / 0.6477 GB, free: 30.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/1.595, allocations: 0.5233 MB / 0.6482 GB, free: 30.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.615, allocations: 5.918 MB / 0.654 GB, free: 24.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002487/1.617, allocations: 2.29 MB / 0.6562 GB, free: 23.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/1.62, allocations: 1.151 MB / 0.6573 GB, free: 22.08 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/1.62, allocations: 0 / 0.6573 GB, free: 22.08 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.499/6.119, allocations: 133.5 MB / 0.7877 GB, free: 67.41 MB / 458.7 MB