Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.251/2.251, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.769e-05, allocations: 8 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3009, allocations: 44.5 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.4792, allocations: 101.4 MB / 395.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.4796, allocations: 83.95 kB / 395.7 MB, free: 12.37 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.4317/0.9113, allocations: 43.35 MB / 439 MB, free: 93.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.9113, allocations: 0 / 439 MB, free: 93.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002002/0.9116, allocations: 54.56 kB / 439.1 MB, free: 93 MB / 362.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.006673/0.9182, allocations: 2.115 MB / 441.2 MB, free: 91.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.9183, allocations: 13.02 kB / 441.2 MB, free: 91.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.9197, allocations: 277.9 kB / 441.5 MB, free: 91.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/0.9238, allocations: 1.41 MB / 442.9 MB, free: 91.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-05/0.924, allocations: 61.84 kB / 442.9 MB, free: 91.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004599/0.9244, allocations: 115.6 kB / 443.1 MB, free: 91.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004584/0.929, allocations: 1.742 MB / 444.8 MB, free: 91.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005111/0.9342, allocations: 2.098 MB / 446.9 MB, free: 90.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.362e-05/0.9343, allocations: 7.531 kB / 446.9 MB, free: 90.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.9346, allocations: 3.953 kB / 446.9 MB, free: 90.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.9347, allocations: 95.7 kB / 447 MB, free: 90.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.9509, allocations: 7.093 MB / 454.1 MB, free: 86.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.9533, allocations: 1.308 MB / 455.4 MB, free: 86.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.9547, allocations: 0.693 MB / 456.1 MB, free: 85.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/0.955, allocations: 135.4 kB / 456.2 MB, free: 85.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.9563, allocations: 0.6572 MB / 456.9 MB, free: 85.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.396e-06/0.9563, allocations: 0 / 456.9 MB, free: 85.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.01741/0.9737, allocations: 6.085 MB / 463 MB, free: 82.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.9738, allocations: 193.4 kB / 463.2 MB, free: 82.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.9758, allocations: 0.9961 MB / 464.1 MB, free: 82.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002151/0.976, allocations: 33.7 kB / 464.2 MB, free: 82.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007635/0.9768, allocations: 0.8994 MB / 465.1 MB, free: 81.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/0.9772, allocations: 441.2 kB / 465.5 MB, free: 80.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.9774, allocations: 0 / 465.5 MB, free: 80.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9775, allocations: 373 kB / 465.9 MB, free: 80.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.9788, allocations: 0.655 MB / 466.5 MB, free: 79.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.9804, allocations: 1.002 MB / 467.5 MB, free: 78.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.9821, allocations: 0.8082 MB / 468.3 MB, free: 78.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/0.9821, allocations: 4 kB / 468.3 MB, free: 78.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005505/0.9876, allocations: 2.275 MB / 470.6 MB, free: 76.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.9877, allocations: 37.7 kB / 470.7 MB, free: 76.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.9877, allocations: 13.5 kB / 470.7 MB, free: 76.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/0.9903, allocations: 0.6473 MB / 471.3 MB, free: 75.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.9925, allocations: 304.3 kB / 471.6 MB, free: 75.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009941/1.002, allocations: 6.173 MB / 477.8 MB, free: 69.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/1.004, allocations: 83.8 kB / 477.9 MB, free: 69.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/1.005, allocations: 56.06 kB / 477.9 MB, free: 69.27 MB / 362.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.0003596/1.005, allocations: 151.1 kB / 478.1 MB, free: 69.12 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005168/1.01, allocations: 2.06 MB / 480.1 MB, free: 67.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/1.011, allocations: 142.3 kB / 480.3 MB, free: 66.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005723/1.016, allocations: 2.216 MB / 482.5 MB, free: 64.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/1.016, allocations: 16 kB / 482.5 MB, free: 64.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.016, allocations: 5.969 kB / 482.5 MB, free: 64.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/1.016, allocations: 11.97 kB / 482.5 MB, free: 64.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.027, allocations: 4.459 MB / 487 MB, free: 60.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.027, allocations: 4 kB / 487 MB, free: 60.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.029, allocations: 191.7 kB / 487.2 MB, free: 59.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/1.032, allocations: 0.7294 MB / 487.9 MB, free: 59.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/1.032, allocations: 15.98 kB / 487.9 MB, free: 59.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.044, allocations: 7.825 MB / 495.7 MB, free: 51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/1.044, allocations: 4 kB / 495.7 MB, free: 51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007198/1.051, allocations: 3.282 MB / 499 MB, free: 47.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.052, allocations: 375.2 kB / 499.4 MB, free: 47.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/1.053, allocations: 19.94 kB / 499.4 MB, free: 47.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.054, allocations: 57.73 kB / 499.5 MB, free: 47.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003638/1.054, allocations: 101.2 kB / 499.6 MB, free: 47.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.055, allocations: 39.98 kB / 499.6 MB, free: 47.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001421/1.056, allocations: 0.7446 MB / 0.4886 GB, free: 46.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.056, allocations: 3.938 kB / 0.4886 GB, free: 46.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002372/1.058, allocations: 467.9 kB / 0.4891 GB, free: 45.82 MB / 362.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.008711/1.067, allocations: 4.783 MB / 0.4937 GB, free: 41.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005146/1.072, allocations: 2.337 MB / 0.496 GB, free: 38.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.072, allocations: 4.062 kB / 0.496 GB, free: 38.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003658/1.076, allocations: 1.534 MB / 0.4975 GB, free: 37.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.079, allocations: 289.3 kB / 0.4978 GB, free: 36.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.089, allocations: 3.95 MB / 0.5017 GB, free: 32.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/1.091, allocations: 1.745 MB / 0.5034 GB, free: 30.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/1.093, allocations: 0.7609 MB / 0.5041 GB, free: 30.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/1.093, allocations: 0 / 0.5041 GB, free: 30.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.964/5.057, allocations: 70.9 MB / 0.5733 GB, free: 115.2 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat does not exist to compare? outputFormat=mat