Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.647e-05, allocations: 4 kB / 292.8 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5036/0.6067, allocations: 115.2 MB / 458.4 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004605/0.6072, allocations: 81.75 kB / 458.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6829/1.29, allocations: 86.32 MB / 0.532 GB, free: 106 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.29, allocations: 1.875 kB / 0.532 GB, free: 106 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003216/1.291, allocations: 74.88 kB / 0.5321 GB, free: 106 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01099/1.302, allocations: 2.811 MB / 0.5349 GB, free: 105 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.302, allocations: 9.469 kB / 0.5349 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001544/1.303, allocations: 390.2 kB / 0.5352 GB, free: 104.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/1.306, allocations: 437.9 kB / 0.5357 GB, free: 104.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008051/1.314, allocations: 1.954 MB / 0.5376 GB, free: 104.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/1.314, allocations: 202 kB / 0.5378 GB, free: 104.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/1.316, allocations: 267.4 kB / 0.538 GB, free: 104.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/1.326, allocations: 3.37 MB / 0.5413 GB, free: 103.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/1.327, allocations: 12.22 kB / 0.5413 GB, free: 103.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004676/1.327, allocations: 114.5 kB / 0.5414 GB, free: 103.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/1.327, allocations: 115.8 kB / 0.5415 GB, free: 103.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009027/1.336, allocations: 2.661 MB / 0.5441 GB, free: 103.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02787/1.364, allocations: 11.23 MB / 0.5551 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003875/1.368, allocations: 2.244 MB / 0.5573 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/1.37, allocations: 0.9836 MB / 0.5583 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004699/1.371, allocations: 223.1 kB / 0.5585 GB, free: 99.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.371, allocations: 49.47 kB / 0.5585 GB, free: 99.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 4.218e-06/1.371, allocations: 0 / 0.5585 GB, free: 99.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=158): time 0.02669/1.398, allocations: 7.194 MB / 0.5655 GB, free: 97.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.398, allocations: 75.19 kB / 0.5656 GB, free: 97.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003824/1.402, allocations: 1.723 MB / 0.5673 GB, free: 96.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004079/1.402, allocations: 53.3 kB / 0.5673 GB, free: 96.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.403, allocations: 1.299 MB / 0.5686 GB, free: 95.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007927/1.404, allocations: 0.5294 MB / 0.5691 GB, free: 95.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/1.404, allocations: 39.5 kB / 0.5692 GB, free: 95.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/1.404, allocations: 385.6 kB / 0.5695 GB, free: 94.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/1.406, allocations: 0.8789 MB / 0.5704 GB, free: 94.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/1.409, allocations: 1.318 MB / 0.5717 GB, free: 93.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/1.411, allocations: 1.094 MB / 0.5727 GB, free: 93.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.411, allocations: 3.594 kB / 0.5728 GB, free: 93.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007652/1.419, allocations: 2.992 MB / 0.5757 GB, free: 92.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/1.419, allocations: 11.34 kB / 0.5757 GB, free: 92.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.457e-05/1.419, allocations: 15.34 kB / 0.5757 GB, free: 92.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/1.422, allocations: 0.6224 MB / 0.5763 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003234/1.425, allocations: 444.2 kB / 0.5767 GB, free: 92.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/1.436, allocations: 5.719 MB / 0.5823 GB, free: 89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/1.439, allocations: 136.2 kB / 0.5824 GB, free: 88.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/1.439, allocations: 76.16 kB / 0.5825 GB, free: 88.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004592/1.44, allocations: 207.3 kB / 0.5827 GB, free: 88.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005735/1.44, allocations: 211.4 kB / 0.5829 GB, free: 88.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006937/1.447, allocations: 2.728 MB / 0.5856 GB, free: 87.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/1.447, allocations: 17.06 kB / 0.5856 GB, free: 87.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.447, allocations: 14.45 kB / 0.5856 GB, free: 87.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/1.447, allocations: 6.469 kB / 0.5856 GB, free: 87.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/1.462, allocations: 5.766 MB / 0.5912 GB, free: 85.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/1.462, allocations: 3.906 kB / 0.5913 GB, free: 85.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/1.465, allocations: 285.8 kB / 0.5915 GB, free: 85.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/1.468, allocations: 0.6852 MB / 0.5922 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/1.468, allocations: 36.56 kB / 0.5922 GB, free: 85.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/1.481, allocations: 7.429 MB / 0.5995 GB, free: 80.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.481, allocations: 3.953 kB / 0.5995 GB, free: 80.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009277/1.49, allocations: 4.134 MB / 0.6035 GB, free: 78.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.492, allocations: 0.4887 MB / 0.604 GB, free: 77.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005505/1.493, allocations: 39.84 kB / 0.604 GB, free: 77.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/1.495, allocations: 114 kB / 0.6041 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004723/1.495, allocations: 130.2 kB / 0.6043 GB, free: 77.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.496, allocations: 51.94 kB / 0.6043 GB, free: 77.53 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002839/1.499, allocations: 1.314 MB / 0.6056 GB, free: 76.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.499, allocations: 0 / 0.6056 GB, free: 76.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003474/1.502, allocations: 0.6718 MB / 0.6063 GB, free: 75.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01023/1.512, allocations: 5.584 MB / 0.6117 GB, free: 70.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006302/1.519, allocations: 2.609 MB / 0.6143 GB, free: 68.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.519, allocations: 4 kB / 0.6143 GB, free: 68.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004112/1.523, allocations: 1.632 MB / 0.6159 GB, free: 66.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/1.527, allocations: 475 kB / 0.6163 GB, free: 66.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.541, allocations: 5.382 MB / 0.6216 GB, free: 61.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/1.543, allocations: 2.213 MB / 0.6237 GB, free: 59.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002432/1.546, allocations: 454.9 kB / 0.6242 GB, free: 59.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/1.548, allocations: 1.061 MB / 0.6252 GB, free: 58.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/1.548, allocations: 0 / 0.6252 GB, free: 58.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/1.683, allocations: 55.74 MB / 0.6796 GB, free: 7.867 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.683, allocations: 184.8 kB / 0.6798 GB, free: 7.648 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.454/6.137, allocations: 0 / 0.6798 GB, free: 7.648 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat does not exist to compare? outputFormat=mat