Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.7e-05, allocations: 4 kB / 292.8 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5115/0.6196, allocations: 110.8 MB / 454 MB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/0.62, allocations: 87.5 kB / 454.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2951/0.9152, allocations: 65.58 MB / 0.5075 GB, free: 1.688 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.849e-06/0.9152, allocations: 0 / 0.5075 GB, free: 1.688 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000462/0.9157, allocations: 87.88 kB / 0.5076 GB, free: 1.602 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01402/0.9297, allocations: 3.276 MB / 0.5108 GB, free: 14.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.9298, allocations: 8.031 kB / 0.5108 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002228/0.9321, allocations: 434.4 kB / 0.5112 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.9351, allocations: 451.1 kB / 0.5116 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009636/0.9448, allocations: 2.379 MB / 0.5139 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000398/0.9453, allocations: 230.1 kB / 0.5142 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/0.9469, allocations: 307.9 kB / 0.5145 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/0.9623, allocations: 4.213 MB / 0.5186 GB, free: 6.039 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.9625, allocations: 4 kB / 0.5186 GB, free: 6.035 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006422/0.9631, allocations: 132 kB / 0.5187 GB, free: 5.906 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/0.9633, allocations: 126 kB / 0.5188 GB, free: 5.781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.9751, allocations: 3.428 MB / 0.5222 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3489/1.324, allocations: 13.59 MB / 0.5354 GB, free: 99.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006078/1.33, allocations: 2.855 MB / 0.5382 GB, free: 98.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004465/1.335, allocations: 1.589 MB / 0.5398 GB, free: 98.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/1.335, allocations: 143.6 kB / 0.5399 GB, free: 98.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/1.335, allocations: 56.95 kB / 0.54 GB, free: 97.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 4.718e-06/1.335, allocations: 0 / 0.54 GB, free: 97.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.02752/1.363, allocations: 7.284 MB / 0.5471 GB, free: 97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/1.363, allocations: 72.53 kB / 0.5472 GB, free: 96.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00518/1.368, allocations: 2.046 MB / 0.5492 GB, free: 96.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005522/1.369, allocations: 59.17 kB / 0.5492 GB, free: 96.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/1.37, allocations: 1.466 MB / 0.5506 GB, free: 96.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.371, allocations: 0.6103 MB / 0.5512 GB, free: 95.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/1.372, allocations: 39.75 kB / 0.5513 GB, free: 95.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/1.372, allocations: 387.4 kB / 0.5516 GB, free: 95.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/1.374, allocations: 1.077 MB / 0.5527 GB, free: 95.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/1.378, allocations: 1.475 MB / 0.5541 GB, free: 95.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/1.381, allocations: 1.292 MB / 0.5554 GB, free: 95.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/1.381, allocations: 5.406 kB / 0.5554 GB, free: 95.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.00938/1.39, allocations: 3.453 MB / 0.5588 GB, free: 94.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/1.39, allocations: 14.81 kB / 0.5588 GB, free: 94.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/1.39, allocations: 10.19 kB / 0.5588 GB, free: 94.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003292/1.394, allocations: 0.7923 MB / 0.5596 GB, free: 94.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/1.398, allocations: 464.5 kB / 0.56 GB, free: 94.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/1.411, allocations: 10.25 MB / 0.57 GB, free: 86.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/1.415, allocations: 131.1 kB / 0.5702 GB, free: 86.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006145/1.416, allocations: 78.12 kB / 0.5702 GB, free: 86.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006217/1.416, allocations: 230.1 kB / 0.5704 GB, free: 86.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009904/1.417, allocations: 243.7 kB / 0.5707 GB, free: 86.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009411/1.427, allocations: 3.26 MB / 0.5739 GB, free: 85.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/1.427, allocations: 15.06 kB / 0.5739 GB, free: 85.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.179e-05/1.427, allocations: 7.531 kB / 0.5739 GB, free: 85.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-05/1.427, allocations: 7.406 kB / 0.5739 GB, free: 85.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.022/1.449, allocations: 6.813 MB / 0.5805 GB, free: 82.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/1.449, allocations: 3.344 kB / 0.5805 GB, free: 82.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/1.452, allocations: 310.8 kB / 0.5808 GB, free: 82.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004164/1.456, allocations: 0.9162 MB / 0.5817 GB, free: 82.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005245/1.457, allocations: 47.09 kB / 0.5818 GB, free: 82.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/1.474, allocations: 13.47 MB / 0.5949 GB, free: 71.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.474, allocations: 3.031 kB / 0.5949 GB, free: 71.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/1.486, allocations: 4.997 MB / 0.5998 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/1.489, allocations: 0.5713 MB / 0.6004 GB, free: 68.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.49, allocations: 37.25 kB / 0.6004 GB, free: 68.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/1.494, allocations: 131.1 kB / 0.6005 GB, free: 68.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008776/1.495, allocations: 164.7 kB / 0.6007 GB, free: 68.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002582/1.495, allocations: 58.78 kB / 0.6008 GB, free: 68.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004237/1.499, allocations: 1.571 MB / 0.6023 GB, free: 68.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.499, allocations: 0 / 0.6023 GB, free: 68.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005483/1.505, allocations: 0.7374 MB / 0.603 GB, free: 68.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01284/1.518, allocations: 6.386 MB / 0.6092 GB, free: 64.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008285/1.526, allocations: 3.433 MB / 0.6126 GB, free: 63.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.526, allocations: 2.5 kB / 0.6126 GB, free: 63.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005845/1.532, allocations: 2.432 MB / 0.615 GB, free: 60.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006062/1.538, allocations: 0.6686 MB / 0.6156 GB, free: 60.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/1.563, allocations: 6.549 MB / 0.622 GB, free: 54.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005989/1.569, allocations: 2.583 MB / 0.6245 GB, free: 52.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00559/1.575, allocations: 0.5822 MB / 0.6251 GB, free: 52.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004822/1.58, allocations: 1.244 MB / 0.6263 GB, free: 51.13 MB / 442.7 MB Notification: Performance of SimCode: time 2.845e-06/1.58, allocations: 0 / 0.6263 GB, free: 51.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2116/1.792, allocations: 67.52 MB / 0.6923 GB, free: 6.906 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003696/1.792, allocations: 199.1 kB / 0.6925 GB, free: 6.676 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.188/6.98, allocations: 3.938 kB / 0.6925 GB, free: 6.672 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat