Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_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.636/1.636, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2362/1.873, allocations: 46.84 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/1.967, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3256/2.293, allocations: 106.5 MB / 400.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/2.293, allocations: 87.45 kB / 400.4 MB, free: 15.32 MB / 314.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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.3291/2.622, allocations: 85.24 MB / 485.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/2.623, allocations: 12 kB / 485.6 MB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007039/2.63, allocations: 0.7489 MB / 486.4 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/2.643, allocations: 3.348 MB / 489.7 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/2.643, allocations: 107.9 kB / 489.8 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/2.645, allocations: 199.9 kB / 490 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01167/2.656, allocations: 3.207 MB / 493.2 MB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/2.67, allocations: 3.709 MB / 497 MB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/2.67, allocations: 4 kB / 497 MB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004279/2.67, allocations: 0 / 497 MB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/2.67, allocations: 154.4 kB / 497.1 MB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1712/2.842, allocations: 12.95 MB / 0.4981 GB, free: 113.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/2.844, allocations: 1.125 MB / 0.4992 GB, free: 113.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003418/2.848, allocations: 1.362 MB / 0.5005 GB, free: 113.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/2.859, allocations: 4.124 MB / 0.5046 GB, free: 113.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/2.861, allocations: 0.9552 MB / 0.5055 GB, free: 113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 4.989e-06/2.861, allocations: 0 / 0.5055 GB, free: 113 MB / 394.7 MB Notification: Performance of matching and sorting (n=168): time 0.01663/2.877, allocations: 5.629 MB / 0.511 GB, free: 111.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.235e-05/2.878, allocations: 230.2 kB / 0.5112 GB, free: 111.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003036/2.881, allocations: 1.371 MB / 0.5126 GB, free: 111.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003525/2.881, allocations: 25.7 kB / 0.5126 GB, free: 111.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/2.882, allocations: 1.188 MB / 0.5137 GB, free: 110.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007088/2.883, allocations: 0.5488 MB / 0.5143 GB, free: 110.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/2.883, allocations: 3.875 kB / 0.5143 GB, free: 110.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/2.883, allocations: 381.7 kB / 0.5146 GB, free: 110.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/2.885, allocations: 0.7447 MB / 0.5154 GB, free: 110.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/2.887, allocations: 1.295 MB / 0.5166 GB, free: 109.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/2.89, allocations: 1.035 MB / 0.5176 GB, free: 109.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/2.89, allocations: 9.828 kB / 0.5177 GB, free: 109.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00708/2.897, allocations: 2.568 MB / 0.5202 GB, free: 109.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/2.897, allocations: 3.594 kB / 0.5202 GB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/2.898, allocations: 18.41 kB / 0.5202 GB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/2.899, allocations: 295.9 kB / 0.5205 GB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003467/2.902, allocations: 430.8 kB / 0.5209 GB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006885/2.909, allocations: 5.514 MB / 0.5263 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/2.912, allocations: 63.02 kB / 0.5263 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/2.912, allocations: 86.75 kB / 0.5264 GB, free: 105.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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 {(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004801/2.913, allocations: 161.4 kB / 0.5266 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004249/2.913, allocations: 184.2 kB / 0.5267 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006956/2.92, allocations: 2.428 MB / 0.5291 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/2.92, allocations: 20.39 kB / 0.5291 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/2.92, allocations: 7.406 kB / 0.5291 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/2.92, allocations: 14.59 kB / 0.5291 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/2.934, allocations: 5.392 MB / 0.5344 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/2.934, allocations: 0 / 0.5344 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/2.936, allocations: 228.6 kB / 0.5346 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/2.938, allocations: 453.4 kB / 0.5351 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/2.938, allocations: 25.36 kB / 0.5351 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/2.951, allocations: 9.54 MB / 0.5444 GB, free: 97.01 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.951, allocations: 0 / 0.5444 GB, free: 97.01 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008465/2.959, allocations: 3.518 MB / 0.5478 GB, free: 95.27 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01065/2.97, allocations: 4.97 MB / 0.5527 GB, free: 92.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/2.972, allocations: 457.6 kB / 0.5531 GB, free: 92.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004835/2.972, allocations: 7.938 kB / 0.5531 GB, free: 92.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/2.974, allocations: 45.2 kB / 0.5532 GB, free: 92.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/2.974, allocations: 91.09 kB / 0.5533 GB, free: 92.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/2.974, allocations: 49.42 kB / 0.5533 GB, free: 92.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002282/2.977, allocations: 1.023 MB / 0.5543 GB, free: 91.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004499/2.981, allocations: 0.6143 MB / 0.5549 GB, free: 91.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (132): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/2.983, allocations: 0.5215 MB / 0.5554 GB, free: 91.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005571/2.988, allocations: 2.319 MB / 0.5577 GB, free: 90.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/2.988, allocations: 5.875 kB / 0.5577 GB, free: 90.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003763/2.992, allocations: 1.513 MB / 0.5592 GB, free: 89.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/2.996, allocations: 357.5 kB / 0.5595 GB, free: 89.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/3.011, allocations: 4.788 MB / 0.5642 GB, free: 87.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004169/3.015, allocations: 2.576 MB / 0.5667 GB, free: 86.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/3.015, allocations: 0 / 0.5667 GB, free: 86.62 MB / 394.7 MB