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.862/1.862, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.878e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09181, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.433/0.5248, allocations: 102 MB / 402 MB, free: 11.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.5252, allocations: 88.25 kB / 402.1 MB, free: 11.39 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.1769/0.7021, allocations: 43.91 MB / 446 MB, free: 4.203 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7021, allocations: 0 / 446 MB, free: 4.203 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002425/0.7024, allocations: 52.12 kB / 446.1 MB, free: 4.152 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.007824/0.7102, allocations: 2.132 MB / 448.2 MB, free: 2.094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.7103, allocations: 8.031 kB / 448.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009583/0.7112, allocations: 284 kB / 448.5 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.7126, allocations: 273.1 kB / 448.8 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004759/0.7174, allocations: 1.405 MB / 450.2 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.7176, allocations: 145.4 kB / 450.3 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007377/0.7184, allocations: 193.6 kB / 450.5 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007054/0.7254, allocations: 2.341 MB / 452.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.961e-05/0.7256, allocations: 7.906 kB / 452.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/0.7259, allocations: 85.73 kB / 452.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.7261, allocations: 90.05 kB / 453 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006162/0.7323, allocations: 1.808 MB / 454.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02185/0.7541, allocations: 7.475 MB / 462.3 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/0.7574, allocations: 1.335 MB / 463.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/0.7594, allocations: 0.7184 MB / 464.4 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004292/0.7599, allocations: 134 kB / 464.5 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001779/0.7617, allocations: 0.6894 MB / 465.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 4.498e-06/0.7618, allocations: 4 kB / 465.2 MB, free: 2.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=130): time 0.03053/0.7923, allocations: 7.636 MB / 472.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.7925, allocations: 193.2 kB / 473 MB, free: 10.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.7956, allocations: 1.206 MB / 474.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003345/0.796, allocations: 53.7 kB / 474.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.7973, allocations: 0.9169 MB / 475.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007496/0.7981, allocations: 453.6 kB / 475.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.7983, allocations: 35.94 kB / 475.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.7985, allocations: 365.9 kB / 476 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.8003, allocations: 0.6795 MB / 476.7 MB, free: 6.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.8025, allocations: 1.037 MB / 477.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.8048, allocations: 0.8771 MB / 478.6 MB, free: 4.934 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.8049, allocations: 7.938 kB / 478.6 MB, free: 4.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00763/0.8125, allocations: 2.515 MB / 481.1 MB, free: 2.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/0.8127, allocations: 41.69 kB / 481.2 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.8127, allocations: 12 kB / 481.2 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002993/0.8157, allocations: 0.6525 MB / 481.8 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/0.8181, allocations: 307.5 kB / 482.1 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.8311, allocations: 6.453 MB / 488.6 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.8334, allocations: 103.9 kB / 488.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.8337, allocations: 63.98 kB / 488.8 MB, free: 10.47 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.0006487/0.8344, allocations: 192.5 kB / 489 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009693/0.8354, allocations: 154.1 kB / 489.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006999/0.8424, allocations: 2.343 MB / 491.4 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.8425, allocations: 12.31 kB / 491.5 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.8425, allocations: 8 kB / 491.5 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/0.8425, allocations: 7.969 kB / 491.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/0.862, allocations: 4.839 MB / 496.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.005e-05/0.8621, allocations: 7.953 kB / 496.3 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/0.8641, allocations: 183.7 kB / 496.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003687/0.8678, allocations: 0.7409 MB / 497.2 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002784/0.8682, allocations: 35.97 kB / 497.3 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.8837, allocations: 8.148 MB / 0.4936 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8837, allocations: 0 / 0.4936 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009323/0.8931, allocations: 3.414 MB / 0.4969 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.8945, allocations: 395 kB / 0.4973 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/0.895, allocations: 35.98 kB / 0.4973 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.8966, allocations: 75.92 kB / 0.4974 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003714/0.897, allocations: 105.2 kB / 0.4975 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/0.8971, allocations: 43.88 kB / 0.4975 GB, free: 5.055 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002245/0.8994, allocations: 0.9224 MB / 0.4984 GB, free: 4.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.8994, allocations: 0 / 0.4984 GB, free: 4.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002877/0.9023, allocations: 0.5312 MB / 0.499 GB, free: 3.598 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.01137/0.9137, allocations: 4.959 MB / 0.5038 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006658/0.9204, allocations: 2.39 MB / 0.5061 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.9205, allocations: 6.062 kB / 0.5061 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00456/0.925, allocations: 1.562 MB / 0.5077 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.9284, allocations: 372.5 kB / 0.508 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.9408, allocations: 4.042 MB / 0.512 GB, free: 6.043 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/0.943, allocations: 1.756 MB / 0.5137 GB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001889/0.9449, allocations: 317.2 kB / 0.514 GB, free: 3.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/0.9468, allocations: 0.7648 MB / 0.5147 GB, free: 3.168 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.9468, allocations: 0 / 0.5147 GB, free: 3.168 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3853/1.332, allocations: 43.69 MB / 0.5574 GB, free: 107.5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.332, allocations: 252 kB / 0.5576 GB, free: 107.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.151/5.484, allocations: 3.906 kB / 0.5576 GB, free: 107.2 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