Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.136/2.136, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.883e-05, allocations: 1.562 kB / 292.8 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 50.42 MB / 343.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4882/0.6001, allocations: 105.6 MB / 448.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/0.6005, allocations: 88.56 kB / 448.9 MB, free: 4.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2281/0.8285, allocations: 53.49 MB / 0.4906 GB, free: 3.102 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8286, allocations: 0 / 0.4906 GB, free: 3.102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003373/0.8289, allocations: 67.94 kB / 0.4906 GB, free: 3.035 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.01101/0.84, allocations: 2.726 MB / 0.4933 GB, free: 260 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.84, allocations: 8.031 kB / 0.4933 GB, free: 252 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001391/0.8414, allocations: 374.8 kB / 0.4937 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.8431, allocations: 356 kB / 0.494 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006373/0.8495, allocations: 1.878 MB / 0.4958 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.8498, allocations: 197.4 kB / 0.496 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/0.8509, allocations: 259.8 kB / 0.4963 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.861, allocations: 3.389 MB / 0.4996 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.8611, allocations: 15.88 kB / 0.4996 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004122/0.8616, allocations: 104 kB / 0.4997 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.8617, allocations: 104.9 kB / 0.4998 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00857/0.8703, allocations: 2.805 MB / 0.5025 GB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03089/0.9013, allocations: 10.92 MB / 0.5132 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005913/0.9072, allocations: 3.052 MB / 0.5162 GB, free: 8.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00336/0.9107, allocations: 1.249 MB / 0.5174 GB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/0.9112, allocations: 142.4 kB / 0.5175 GB, free: 6.684 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002753/0.914, allocations: 1.107 MB / 0.5186 GB, free: 5.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=159): time 4.639e-06/0.914, allocations: 0 / 0.5186 GB, free: 5.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.3234/1.237, allocations: 6.725 MB / 0.5252 GB, free: 111.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.238, allocations: 181.9 kB / 0.5254 GB, free: 111.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004544/1.242, allocations: 1.591 MB / 0.5269 GB, free: 111.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004971/1.243, allocations: 58.84 kB / 0.527 GB, free: 111.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/1.244, allocations: 1.164 MB / 0.5281 GB, free: 111.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009631/1.245, allocations: 0.5711 MB / 0.5287 GB, free: 111 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/1.245, allocations: 34.19 kB / 0.5287 GB, free: 111 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/1.246, allocations: 382.5 kB / 0.5291 GB, free: 110.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/1.248, allocations: 0.9498 MB / 0.53 GB, free: 110.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/1.251, allocations: 1.314 MB / 0.5313 GB, free: 110.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/1.255, allocations: 1.099 MB / 0.5323 GB, free: 110.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.168e-05/1.255, allocations: 6.875 kB / 0.5324 GB, free: 110.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.01368/1.268, allocations: 3.156 MB / 0.5354 GB, free: 110 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/1.268, allocations: 9.422 kB / 0.5354 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.567e-05/1.269, allocations: 13.34 kB / 0.5355 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005583/1.274, allocations: 0.873 MB / 0.5363 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/1.286, allocations: 335 kB / 0.5366 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04795/1.334, allocations: 9.544 MB / 0.5459 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004239/1.338, allocations: 146.6 kB / 0.5461 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000684/1.339, allocations: 61.97 kB / 0.5461 GB, free: 105.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 174 * 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: 3 * 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: 3 {(2,100.0%) 12,(9,33.3%) 25,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008059/1.34, allocations: 218.2 kB / 0.5464 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.341, allocations: 204.2 kB / 0.5465 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008766/1.35, allocations: 3.053 MB / 0.5495 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/1.35, allocations: 18.2 kB / 0.5495 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/1.35, allocations: 10.44 kB / 0.5496 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-05/1.35, allocations: 6.703 kB / 0.5496 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/1.368, allocations: 6.182 MB / 0.5556 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/1.368, allocations: 3.938 kB / 0.5556 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/1.37, allocations: 223.3 kB / 0.5558 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003849/1.374, allocations: 0.9227 MB / 0.5567 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003685/1.374, allocations: 42.95 kB / 0.5568 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/1.391, allocations: 11.02 MB / 0.5675 GB, free: 95.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.391, allocations: 0 / 0.5675 GB, free: 95.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.401, allocations: 4.578 MB / 0.572 GB, free: 93.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/1.403, allocations: 0.5032 MB / 0.5725 GB, free: 93.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006621/1.404, allocations: 37.14 kB / 0.5725 GB, free: 93.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.406, allocations: 117.5 kB / 0.5726 GB, free: 93.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000822/1.407, allocations: 206.5 kB / 0.5728 GB, free: 93.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/1.407, allocations: 51.12 kB / 0.5729 GB, free: 93.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002689/1.41, allocations: 1.216 MB / 0.5741 GB, free: 92.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.41, allocations: 0 / 0.5741 GB, free: 92.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00367/1.414, allocations: 0.6574 MB / 0.5747 GB, free: 92.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01133/1.425, allocations: 5.941 MB / 0.5805 GB, free: 89.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007165/1.432, allocations: 3.075 MB / 0.5835 GB, free: 88.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.432, allocations: 7.969 kB / 0.5835 GB, free: 88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005146/1.437, allocations: 2.162 MB / 0.5856 GB, free: 86.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004332/1.442, allocations: 0.5298 MB / 0.5861 GB, free: 86.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/1.457, allocations: 5.445 MB / 0.5915 GB, free: 84.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003212/1.461, allocations: 2.24 MB / 0.5936 GB, free: 83.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00258/1.463, allocations: 446.1 kB / 0.5941 GB, free: 83.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002358/1.466, allocations: 0.9957 MB / 0.595 GB, free: 82.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.943e-06/1.466, allocations: 0 / 0.595 GB, free: 82.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/1.606, allocations: 58.16 MB / 0.6518 GB, free: 34.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/1.606, allocations: 188.6 kB / 0.652 GB, free: 34.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.73/6.337, allocations: 0 / 0.652 GB, free: 34.72 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat does not exist to compare? outputFormat=mat