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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.712/1.712, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2714/1.983, allocations: 46.83 MB / 249.3 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/2.099, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/2.488, allocations: 101.3 MB / 395.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/2.488, allocations: 85.45 kB / 395.2 MB, free: 1.707 MB / 298.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: 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.2329/2.721, allocations: 45.34 MB / 440.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/2.721, allocations: 15.94 kB / 440.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/2.723, allocations: 273 kB / 440.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005981/2.729, allocations: 1.428 MB / 442.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/2.729, allocations: 64 kB / 442.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/2.73, allocations: 119.9 kB / 442.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006923/2.737, allocations: 1.772 MB / 444.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008213/2.745, allocations: 2.125 MB / 446.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/2.746, allocations: 4 kB / 446.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003545/2.746, allocations: 7.906 kB / 446.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/2.746, allocations: 87.67 kB / 446.5 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02371/2.77, allocations: 7.119 MB / 453.6 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/2.772, allocations: 0.7743 MB / 454.4 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/2.775, allocations: 0.7454 MB / 455.1 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004217/2.775, allocations: 138 kB / 455.2 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/2.777, allocations: 0.6583 MB / 455.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 4.648e-06/2.777, allocations: 0 / 455.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.02385/2.801, allocations: 6.075 MB / 462 MB, free: 9.273 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/2.801, allocations: 205.2 kB / 462.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/2.804, allocations: 1.001 MB / 463.2 MB, free: 8.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003285/2.804, allocations: 29.7 kB / 463.2 MB, free: 7.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/2.805, allocations: 0.7401 MB / 463.9 MB, free: 7.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008114/2.806, allocations: 437.5 kB / 464.4 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/2.806, allocations: 4 kB / 464.4 MB, free: 6.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002267/2.807, allocations: 361.9 kB / 464.7 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/2.808, allocations: 0.6716 MB / 465.4 MB, free: 5.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/2.811, allocations: 1.021 MB / 466.4 MB, free: 4.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/2.813, allocations: 0.8381 MB / 467.3 MB, free: 3.758 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/2.813, allocations: 0 / 467.3 MB, free: 3.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.008149/2.822, allocations: 2.382 MB / 469.6 MB, free: 1.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/2.822, allocations: 9.969 kB / 469.6 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/2.822, allocations: 8 kB / 469.7 MB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003232/2.825, allocations: 0.6648 MB / 470.3 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/2.827, allocations: 291.6 kB / 470.6 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/2.841, allocations: 5.881 MB / 476.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/2.843, allocations: 59.88 kB / 476.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003519/2.843, allocations: 60 kB / 476.6 MB, free: 10.14 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.0004443/2.844, allocations: 132.7 kB / 476.7 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006415/2.845, allocations: 146.2 kB / 476.9 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008406/2.853, allocations: 2.231 MB / 479.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.683e-05/2.853, allocations: 19.91 kB / 479.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/2.853, allocations: 4 kB / 479.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-05/2.853, allocations: 7.969 kB / 479.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/2.871, allocations: 4.498 MB / 483.6 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/2.871, allocations: 12.25 kB / 483.6 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/2.873, allocations: 183.7 kB / 483.8 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005608/2.879, allocations: 0.7214 MB / 484.5 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003226/2.879, allocations: 19.97 kB / 484.6 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/2.901, allocations: 7.476 MB / 492 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/2.901, allocations: 3.938 kB / 492 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01352/2.914, allocations: 3.336 MB / 495.4 MB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01679/2.931, allocations: 4.743 MB / 0.4884 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/2.933, allocations: 375.2 kB / 0.4888 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006009/2.934, allocations: 11.98 kB / 0.4888 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/2.936, allocations: 47.95 kB / 0.4888 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/2.936, allocations: 85.03 kB / 0.4889 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/2.937, allocations: 35.98 kB / 0.4889 GB, free: 1.375 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002604/2.939, allocations: 0.7524 MB / 0.4897 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004064/2.943, allocations: 475.9 kB / 0.4901 GB, free: 152 kB / 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.1369/3.08, allocations: 467.7 kB / 0.4906 GB, free: 144 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005629/3.086, allocations: 2.248 MB / 0.4928 GB, free: 143.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/3.086, allocations: 0 / 0.4928 GB, free: 143.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0053/3.091, allocations: 1.454 MB / 0.4942 GB, free: 143.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/3.094, allocations: 277.2 kB / 0.4945 GB, free: 143.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/3.105, allocations: 3.496 MB / 0.4979 GB, free: 142.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003009/3.108, allocations: 1.864 MB / 0.4997 GB, free: 141.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/3.108, allocations: 0 / 0.4997 GB, free: 141.7 MB / 394.7 MB