Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.91e-05, allocations: 4 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 47.57 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4803/0.5827, allocations: 110.1 MB / 427.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/0.5832, allocations: 87.55 kB / 427.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2881/0.8713, allocations: 65.17 MB / 492.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.696e-06/0.8713, allocations: 0 / 492.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004236/0.8718, allocations: 91.88 kB / 492.5 MB, free: 15.5 MB / 410.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.01295/0.8847, allocations: 3.245 MB / 495.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.8848, allocations: 12.03 kB / 495.7 MB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001508/0.8863, allocations: 446.4 kB / 496.2 MB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.8882, allocations: 439.1 kB / 496.6 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007593/0.8959, allocations: 2.375 MB / 499 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.8962, allocations: 230.2 kB / 499.2 MB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000892/0.8971, allocations: 315.9 kB / 499.5 MB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/0.9098, allocations: 4.201 MB / 0.4919 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.91, allocations: 3.984 kB / 0.4919 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000556/0.9106, allocations: 132 kB / 0.492 GB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.9108, allocations: 126 kB / 0.4922 GB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.9225, allocations: 3.444 MB / 0.4955 GB, free: 276 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03907/0.9616, allocations: 13.61 MB / 0.5088 GB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2881/1.25, allocations: 2.867 MB / 0.5116 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004876/1.255, allocations: 1.582 MB / 0.5132 GB, free: 101 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/1.255, allocations: 145.4 kB / 0.5133 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/1.255, allocations: 53.33 kB / 0.5134 GB, free: 100.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=167): time 4.338e-06/1.255, allocations: 0 / 0.5134 GB, free: 100.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=183): time 0.02664/1.282, allocations: 7.304 MB / 0.5205 GB, free: 100.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/1.282, allocations: 69.97 kB / 0.5205 GB, free: 100.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/1.288, allocations: 2.042 MB / 0.5225 GB, free: 99.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005113/1.288, allocations: 60.7 kB / 0.5226 GB, free: 99.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.29, allocations: 1.463 MB / 0.524 GB, free: 99.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009521/1.291, allocations: 0.6142 MB / 0.5246 GB, free: 99.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/1.291, allocations: 38.88 kB / 0.5247 GB, free: 99.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/1.291, allocations: 385.4 kB / 0.525 GB, free: 98.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/1.294, allocations: 1.082 MB / 0.5261 GB, free: 98.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/1.297, allocations: 1.482 MB / 0.5275 GB, free: 98.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/1.3, allocations: 1.288 MB / 0.5288 GB, free: 98.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/1.3, allocations: 3.875 kB / 0.5288 GB, free: 98.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.009078/1.309, allocations: 3.46 MB / 0.5322 GB, free: 98.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/1.309, allocations: 11 kB / 0.5322 GB, free: 98.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/1.309, allocations: 13.62 kB / 0.5322 GB, free: 98.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/1.312, allocations: 0.8085 MB / 0.533 GB, free: 98.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/1.316, allocations: 460.6 kB / 0.5334 GB, free: 98.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/1.33, allocations: 10.83 MB / 0.544 GB, free: 91.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/1.333, allocations: 123.6 kB / 0.5441 GB, free: 91.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003459/1.333, allocations: 77.92 kB / 0.5442 GB, free: 91.39 MB / 426.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.0005766/1.334, allocations: 222.6 kB / 0.5444 GB, free: 91.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007509/1.335, allocations: 246.4 kB / 0.5446 GB, free: 91.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008747/1.343, allocations: 3.281 MB / 0.5478 GB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/1.344, allocations: 21.91 kB / 0.5479 GB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/1.344, allocations: 7.844 kB / 0.5479 GB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/1.344, allocations: 10.88 kB / 0.5479 GB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/1.363, allocations: 6.944 MB / 0.5547 GB, free: 88.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/1.363, allocations: 3.969 kB / 0.5547 GB, free: 88.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/1.366, allocations: 309.6 kB / 0.555 GB, free: 88.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004006/1.37, allocations: 0.925 MB / 0.5559 GB, free: 88.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000403/1.37, allocations: 43.64 kB / 0.5559 GB, free: 88.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/1.386, allocations: 13.46 MB / 0.5691 GB, free: 77.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.386, allocations: 6.531 kB / 0.5691 GB, free: 77.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/1.397, allocations: 4.985 MB / 0.5739 GB, free: 75.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/1.399, allocations: 0.5731 MB / 0.5745 GB, free: 74.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000699/1.4, allocations: 38.67 kB / 0.5745 GB, free: 74.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/1.403, allocations: 129.2 kB / 0.5747 GB, free: 74.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005857/1.403, allocations: 168.7 kB / 0.5748 GB, free: 74.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/1.403, allocations: 55.34 kB / 0.5749 GB, free: 74.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003497/1.407, allocations: 1.568 MB / 0.5764 GB, free: 73.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.195e-06/1.407, allocations: 0 / 0.5764 GB, free: 73.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004056/1.411, allocations: 0.7473 MB / 0.5771 GB, free: 73.89 MB / 426.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.01216/1.423, allocations: 6.383 MB / 0.5834 GB, free: 70.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007385/1.431, allocations: 3.456 MB / 0.5867 GB, free: 68.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.431, allocations: 0 / 0.5867 GB, free: 68.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005388/1.436, allocations: 2.443 MB / 0.5891 GB, free: 67.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005523/1.442, allocations: 0.6751 MB / 0.5898 GB, free: 67.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/1.46, allocations: 6.54 MB / 0.5962 GB, free: 63.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002974/1.463, allocations: 2.584 MB / 0.5987 GB, free: 61.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003143/1.466, allocations: 0.5758 MB / 0.5993 GB, free: 61.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002986/1.469, allocations: 1.24 MB / 0.6005 GB, free: 59.99 MB / 426.7 MB Notification: Performance of SimCode: time 2.795e-06/1.469, allocations: 4 kB / 0.6005 GB, free: 59.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1594/1.628, allocations: 67.64 MB / 0.6665 GB, free: 1.172 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/1.629, allocations: 208.5 kB / 0.6667 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.947/6.575, allocations: 3.906 kB / 0.6667 GB, free: 0.9375 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat