Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.381e-05/2.392e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2949, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.5008, allocations: 105.1 MB / 399.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.5012, allocations: 87.89 kB / 399.4 MB, free: 8.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5311/1.032, allocations: 64.48 MB / 463.9 MB, free: 85.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.032, allocations: 0 / 463.9 MB, free: 85.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004639/1.033, allocations: 91.81 kB / 464 MB, free: 85.37 MB / 362.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.01453/1.047, allocations: 3.247 MB / 467.2 MB, free: 82.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/1.048, allocations: 12.03 kB / 467.3 MB, free: 82.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/1.05, allocations: 443 kB / 467.7 MB, free: 81.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007856/1.058, allocations: 2.374 MB / 470.1 MB, free: 79.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/1.058, allocations: 100 kB / 470.2 MB, free: 79.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008578/1.059, allocations: 191.8 kB / 470.4 MB, free: 78.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009229/1.068, allocations: 3.296 MB / 473.6 MB, free: 75.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/1.08, allocations: 3.787 MB / 477.4 MB, free: 71.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/1.08, allocations: 19.81 kB / 477.5 MB, free: 71.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006346/1.081, allocations: 11.95 kB / 477.5 MB, free: 71.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/1.081, allocations: 126 kB / 477.6 MB, free: 71.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/1.113, allocations: 12.99 MB / 490.6 MB, free: 58.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004594/1.117, allocations: 2.805 MB / 493.4 MB, free: 55.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003135/1.12, allocations: 1.469 MB / 494.9 MB, free: 53.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004596/1.121, allocations: 143 kB / 495 MB, free: 53.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/1.121, allocations: 52.56 kB / 495 MB, free: 53.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=167): time 4.729e-06/1.121, allocations: 3.984 kB / 495 MB, free: 53.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=183): time 0.01679/1.138, allocations: 6.305 MB / 0.4896 GB, free: 47.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.138, allocations: 77.41 kB / 0.4897 GB, free: 47.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/1.142, allocations: 1.704 MB / 0.4913 GB, free: 45.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000491/1.142, allocations: 29.7 kB / 0.4914 GB, free: 45.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/1.144, allocations: 1.468 MB / 0.4928 GB, free: 43.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008434/1.144, allocations: 0.5889 MB / 0.4934 GB, free: 43.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/1.145, allocations: 0 / 0.4934 GB, free: 43.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/1.145, allocations: 381.9 kB / 0.4937 GB, free: 42.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/1.147, allocations: 1.046 MB / 0.4948 GB, free: 41.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/1.15, allocations: 1.44 MB / 0.4962 GB, free: 40.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/1.152, allocations: 1.247 MB / 0.4974 GB, free: 39.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.152, allocations: 4 kB / 0.4974 GB, free: 39.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007476/1.16, allocations: 3.296 MB / 0.5006 GB, free: 35.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/1.16, allocations: 12 kB / 0.5006 GB, free: 35.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/1.16, allocations: 12 kB / 0.5006 GB, free: 35.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/1.163, allocations: 0.7863 MB / 0.5014 GB, free: 34.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/1.166, allocations: 455.3 kB / 0.5018 GB, free: 34.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.178, allocations: 10.39 MB / 0.512 GB, free: 23.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/1.181, allocations: 83.95 kB / 0.5121 GB, free: 23.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/1.181, allocations: 83.92 kB / 0.5121 GB, free: 23.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (214): * Single equations (assignments): 207 * 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%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004881/1.182, allocations: 152.6 kB / 0.5123 GB, free: 23.22 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006501/1.188, allocations: 2.93 MB / 0.5152 GB, free: 20.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005025/1.189, allocations: 225.3 kB / 0.5154 GB, free: 20.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007043/1.196, allocations: 3.1 MB / 0.5184 GB, free: 16.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/1.196, allocations: 16 kB / 0.5184 GB, free: 16.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.196, allocations: 12 kB / 0.5184 GB, free: 16.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/1.196, allocations: 11.95 kB / 0.5184 GB, free: 16.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/1.211, allocations: 6.37 MB / 0.5247 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.211, allocations: 0 / 0.5247 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/1.214, allocations: 311.5 kB / 0.5249 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003716/1.218, allocations: 0.8966 MB / 0.5258 GB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003182/1.218, allocations: 15.98 kB / 0.5258 GB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/1.234, allocations: 12.94 MB / 0.5385 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/1.234, allocations: 7.984 kB / 0.5385 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/1.246, allocations: 4.768 MB / 0.5431 GB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.248, allocations: 0.5412 MB / 0.5437 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006522/1.249, allocations: 7.984 kB / 0.5437 GB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/1.251, allocations: 107.8 kB / 0.5438 GB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006506/1.252, allocations: 169.7 kB / 0.5439 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/1.252, allocations: 51.98 kB / 0.544 GB, free: 5.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003281/1.255, allocations: 1.284 MB / 0.5452 GB, free: 4.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.11e-07/1.256, allocations: 0 / 0.5452 GB, free: 4.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003923/1.259, allocations: 0.6445 MB / 0.5459 GB, free: 3.703 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (148): * Single equations (assignments): 140 * 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.01257/1.272, allocations: 6.002 MB / 0.5517 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007621/1.28, allocations: 3.388 MB / 0.555 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.28, allocations: 0 / 0.555 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006174/1.286, allocations: 2.385 MB / 0.5574 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004433/1.29, allocations: 0.5219 MB / 0.5579 GB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/1.309, allocations: 6.336 MB / 0.5641 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2796/1.589, allocations: 2.581 MB / 0.5666 GB, free: 105.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003205/1.592, allocations: 0.551 MB / 0.5671 GB, free: 105.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003025/1.595, allocations: 1.23 MB / 0.5683 GB, free: 105.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/1.595, allocations: 1.688 kB / 0.5683 GB, free: 105.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/1.745, allocations: 57.31 MB / 0.6243 GB, free: 77.77 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.745, allocations: 175.8 kB / 0.6245 GB, free: 77.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.534/6.279, allocations: 0 / 0.6245 GB, free: 77.57 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat