Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.835/1.835, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.742e-05/5.752e-05, allocations: 8.625 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.101, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4727/0.5738, allocations: 102 MB / 402 MB, free: 11.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.5741, allocations: 91.98 kB / 402.1 MB, free: 11.75 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.1736/0.7477, allocations: 43.92 MB / 446 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7478, allocations: 0 / 446 MB, free: 4.664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002008/0.748, allocations: 47.94 kB / 446.1 MB, free: 4.617 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.00702/0.7551, allocations: 2.126 MB / 448.2 MB, free: 2.562 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.7551, allocations: 16.02 kB / 448.2 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007622/0.7559, allocations: 276.2 kB / 448.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.7571, allocations: 277.1 kB / 448.7 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004563/0.7617, allocations: 1.408 MB / 450.1 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.7619, allocations: 143.6 kB / 450.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004993/0.7624, allocations: 195.1 kB / 450.5 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006595/0.769, allocations: 2.367 MB / 452.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-05/0.7692, allocations: 11.16 kB / 452.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.7695, allocations: 83.91 kB / 452.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.7696, allocations: 83.69 kB / 453 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00553/0.7752, allocations: 1.843 MB / 454.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01976/0.795, allocations: 7.464 MB / 462.3 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/0.7981, allocations: 1.353 MB / 463.7 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.8, allocations: 0.7184 MB / 464.4 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004192/0.8004, allocations: 146 kB / 464.5 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/0.802, allocations: 0.6875 MB / 465.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 3.867e-06/0.8021, allocations: 0 / 465.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=130): time 0.02942/0.8315, allocations: 7.636 MB / 472.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.8316, allocations: 201.2 kB / 473.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.8345, allocations: 1.202 MB / 474.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002938/0.8348, allocations: 53.7 kB / 474.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.836, allocations: 0.9247 MB / 475.2 MB, free: 8.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006162/0.8366, allocations: 457.4 kB / 475.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.8368, allocations: 32 kB / 475.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.837, allocations: 365.9 kB / 476.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.8388, allocations: 0.6795 MB / 476.8 MB, free: 7.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.8409, allocations: 1.037 MB / 477.8 MB, free: 5.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.8431, allocations: 0.8888 MB / 478.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.8432, allocations: 0 / 478.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007292/0.8505, allocations: 2.542 MB / 481.2 MB, free: 2.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.8506, allocations: 41.7 kB / 481.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.8506, allocations: 11.98 kB / 481.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.8535, allocations: 0.6527 MB / 481.9 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/0.8558, allocations: 303.5 kB / 482.2 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.8687, allocations: 6.456 MB / 488.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.8709, allocations: 104.2 kB / 488.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.8711, allocations: 59.98 kB / 488.8 MB, free: 10.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004288/0.8715, allocations: 196.5 kB / 489 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.8719, allocations: 154.1 kB / 489.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006911/0.8788, allocations: 2.343 MB / 491.5 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.8789, allocations: 12 kB / 491.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.8789, allocations: 8 kB / 491.5 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.8789, allocations: 7.922 kB / 491.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.892, allocations: 4.846 MB / 496.4 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.8921, allocations: 7.953 kB / 496.4 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.8936, allocations: 179.8 kB / 496.6 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003481/0.8971, allocations: 0.7454 MB / 497.3 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.8973, allocations: 31.98 kB / 497.4 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/0.9127, allocations: 8.144 MB / 0.4937 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.9128, allocations: 0 / 0.4937 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009212/0.922, allocations: 3.422 MB / 0.497 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.9234, allocations: 390.9 kB / 0.4974 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.9238, allocations: 35.98 kB / 0.4974 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.9253, allocations: 79.92 kB / 0.4975 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.9257, allocations: 109.1 kB / 0.4976 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.9259, allocations: 39.94 kB / 0.4976 GB, free: 5.074 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002234/0.9281, allocations: 0.9185 MB / 0.4985 GB, free: 4.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.9282, allocations: 0 / 0.4985 GB, free: 4.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002829/0.931, allocations: 0.5312 MB / 0.499 GB, free: 3.621 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(7,63.3%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01118/0.9422, allocations: 4.96 MB / 0.5039 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006538/0.9488, allocations: 2.434 MB / 0.5063 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.9488, allocations: 192 / 0.5063 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004502/0.9534, allocations: 1.598 MB / 0.5078 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/0.9565, allocations: 376.5 kB / 0.5082 GB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.9686, allocations: 4.044 MB / 0.5121 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/0.9708, allocations: 1.753 MB / 0.5138 GB, free: 4.176 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001864/0.9727, allocations: 317.2 kB / 0.5141 GB, free: 3.859 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/0.9745, allocations: 0.7687 MB / 0.5149 GB, free: 3.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9746, allocations: 0 / 0.5149 GB, free: 3.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3836/1.358, allocations: 43.89 MB / 0.5578 GB, free: 107.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/1.359, allocations: 253.4 kB / 0.558 GB, free: 106.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.193/5.551, allocations: 0 / 0.558 GB, free: 106.7 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat does not exist to compare? outputFormat=mat