Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.986e-05/3.993e-05, allocations: 4 kB / 292.8 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 50.41 MB / 343.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5554/0.6692, allocations: 153.9 MB / 497.1 MB, free: 5.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/0.6697, allocations: 101.7 kB / 497.2 MB, free: 5.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.407/3.076, allocations: 456.8 MB / 0.9317 GB, free: 37.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.474e-06/3.077, allocations: 4 kB / 0.9317 GB, free: 37.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001504/3.078, allocations: 323.6 kB / 0.932 GB, free: 37.87 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06481/3.143, allocations: 13.19 MB / 0.9449 GB, free: 33.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/3.143, allocations: 8.688 kB / 0.9449 GB, free: 33.84 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0115/3.154, allocations: 2.28 MB / 0.9471 GB, free: 33.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05/3.204, allocations: 5.834 MB / 0.9528 GB, free: 32.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04118/3.246, allocations: 11.68 MB / 0.9642 GB, free: 31.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001427/3.247, allocations: 1.029 MB / 0.9652 GB, free: 31.51 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007253/3.255, allocations: 1.347 MB / 0.9666 GB, free: 31.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07387/3.328, allocations: 22 MB / 0.988 GB, free: 26.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008696/3.329, allocations: 29.69 kB / 0.9881 GB, free: 26.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005937/3.335, allocations: 0.582 MB / 0.9886 GB, free: 26.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001525/3.337, allocations: 0.9724 MB / 0.9896 GB, free: 26 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06161/3.399, allocations: 18.99 MB / 1.008 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6062/4.005, allocations: 72.75 MB / 1.079 GB, free: 26.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0534/4.058, allocations: 42.07 MB / 1.12 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01305/4.071, allocations: 5.066 MB / 1.125 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03983/4.111, allocations: 12.76 MB / 1.138 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.328e-05/4.111, allocations: 88.22 kB / 1.138 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=502): time 1.068e-05/4.111, allocations: 0 / 1.138 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=510): time 0.05528/4.167, allocations: 18.83 MB / 1.156 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/4.167, allocations: 133.7 kB / 1.156 GB, free: 18.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01405/4.181, allocations: 5.004 MB / 1.161 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001232/4.182, allocations: 111.2 kB / 1.161 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005173/4.187, allocations: 6.137 MB / 1.167 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002654/4.19, allocations: 1.746 MB / 1.169 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001506/4.192, allocations: 147.8 kB / 1.169 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008618/4.193, allocations: 0.6089 MB / 1.17 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009337/4.202, allocations: 3.513 MB / 1.173 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01162/4.214, allocations: 6.251 MB / 1.179 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/4.225, allocations: 4.919 MB / 1.184 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/4.226, allocations: 30.12 kB / 1.184 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.03515/4.261, allocations: 11.53 MB / 1.195 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/4.261, allocations: 43.97 kB / 1.195 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/4.261, allocations: 97.78 kB / 1.195 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007776/4.269, allocations: 1.51 MB / 1.197 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/4.282, allocations: 1.641 MB / 1.199 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03695/4.319, allocations: 17.83 MB / 1.216 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/4.329, allocations: 433.9 kB / 1.216 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002132/4.331, allocations: 365.7 kB / 1.217 GB, free: 10.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(12,52.8%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00283/4.334, allocations: 0.5756 MB / 1.217 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/4.336, allocations: 0.5982 MB / 1.218 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02991/4.366, allocations: 9.169 MB / 1.227 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0184/4.385, allocations: 5.763 MB / 1.232 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.597e-05/4.385, allocations: 20 kB / 1.232 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001553/4.385, allocations: 29.92 kB / 1.232 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4936/4.879, allocations: 20.99 MB / 1.253 GB, free: 91.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.544e-05/4.879, allocations: 8.562 kB / 1.253 GB, free: 91.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008107/4.887, allocations: 0.8506 MB / 1.254 GB, free: 91.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008606/4.896, allocations: 1.534 MB / 1.255 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001403/4.897, allocations: 127 kB / 1.255 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03774/4.935, allocations: 21 MB / 1.276 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/4.935, allocations: 9.594 kB / 1.276 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0368/4.972, allocations: 14.3 MB / 1.29 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005584/4.977, allocations: 1.358 MB / 1.291 GB, free: 79.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002925/4.98, allocations: 109 kB / 1.291 GB, free: 79.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008904/4.989, allocations: 305.1 kB / 1.292 GB, free: 79.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002219/4.991, allocations: 403.9 kB / 1.292 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001296/4.993, allocations: 153.2 kB / 1.292 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01076/5.004, allocations: 3.755 MB / 1.296 GB, free: 79.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.212e-06/5.004, allocations: 2.75 kB / 1.296 GB, free: 79.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01513/5.019, allocations: 2.373 MB / 1.298 GB, free: 79.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 428 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(12,52.1%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04056/5.059, allocations: 16.72 MB / 1.314 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0241/5.084, allocations: 9.375 MB / 1.324 GB, free: 74.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/5.084, allocations: 3.188 kB / 1.324 GB, free: 74.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01493/5.099, allocations: 5.251 MB / 1.329 GB, free: 71.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01334/5.112, allocations: 1.489 MB / 1.33 GB, free: 71.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08308/5.195, allocations: 25.17 MB / 1.355 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02123/5.216, allocations: 9.092 MB / 1.364 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01521/5.232, allocations: 2.507 MB / 1.366 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01281/5.244, allocations: 5.137 MB / 1.371 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.854e-06/5.245, allocations: 0 / 1.371 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8731/6.118, allocations: 187.1 MB / 1.554 GB, free: 40.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/6.118, allocations: 215.5 kB / 1.554 GB, free: 40.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.912/16.03, allocations: 1.5 kB / 1.554 GB, free: 40.1 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat