Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.862/1.862, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2264/2.089, allocations: 46.84 MB / 249.4 MB, free: 5.301 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/2.187, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/2.548, allocations: 106.5 MB / 400.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/2.548, allocations: 86.27 kB / 400.5 MB, free: 15.25 MB / 314.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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: 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.3853/2.933, allocations: 85.25 MB / 485.7 MB, free: 1.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/2.933, allocations: 8 kB / 485.7 MB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008194/2.942, allocations: 0.745 MB / 486.5 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/2.958, allocations: 3.348 MB / 489.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000258/2.958, allocations: 107.9 kB / 489.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/2.959, allocations: 203.9 kB / 490.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01332/2.972, allocations: 3.199 MB / 493.3 MB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/2.988, allocations: 3.716 MB / 497 MB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/2.988, allocations: 0 / 497 MB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005284/2.988, allocations: 4 kB / 497 MB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002437/2.988, allocations: 150.4 kB / 497.2 MB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1902/3.179, allocations: 12.94 MB / 0.4982 GB, free: 113.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/3.182, allocations: 1.121 MB / 0.4993 GB, free: 113.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00391/3.186, allocations: 1.367 MB / 0.5006 GB, free: 113.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/3.198, allocations: 4.133 MB / 0.5046 GB, free: 113.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002536/3.201, allocations: 0.9499 MB / 0.5056 GB, free: 113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 5.781e-06/3.201, allocations: 0 / 0.5056 GB, free: 113 MB / 394.7 MB Notification: Performance of matching and sorting (n=168): time 0.01997/3.221, allocations: 5.632 MB / 0.5111 GB, free: 111.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/3.221, allocations: 235 kB / 0.5113 GB, free: 111.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003607/3.225, allocations: 1.368 MB / 0.5126 GB, free: 111.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003853/3.225, allocations: 25.7 kB / 0.5126 GB, free: 111.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/3.226, allocations: 1.191 MB / 0.5138 GB, free: 110.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007932/3.227, allocations: 0.5491 MB / 0.5143 GB, free: 110.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/3.227, allocations: 3.812 kB / 0.5143 GB, free: 110.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/3.228, allocations: 378.7 kB / 0.5147 GB, free: 110.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/3.23, allocations: 0.7418 MB / 0.5154 GB, free: 110.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/3.232, allocations: 1.303 MB / 0.5167 GB, free: 109.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/3.236, allocations: 1.036 MB / 0.5177 GB, free: 109.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/3.236, allocations: 3.594 kB / 0.5177 GB, free: 109.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.008554/3.245, allocations: 2.569 MB / 0.5202 GB, free: 109.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/3.245, allocations: 3.375 kB / 0.5202 GB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-05/3.245, allocations: 22.41 kB / 0.5203 GB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/3.246, allocations: 293.8 kB / 0.5205 GB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/3.251, allocations: 430.5 kB / 0.5209 GB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008381/3.259, allocations: 5.51 MB / 0.5263 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/3.262, allocations: 60.77 kB / 0.5264 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/3.263, allocations: 88.67 kB / 0.5265 GB, free: 105.5 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.0005402/3.263, allocations: 160.8 kB / 0.5266 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/3.264, allocations: 188.4 kB / 0.5268 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008592/3.272, allocations: 2.428 MB / 0.5292 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/3.272, allocations: 15.53 kB / 0.5292 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/3.272, allocations: 6.812 kB / 0.5292 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-05/3.272, allocations: 13.84 kB / 0.5292 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/3.289, allocations: 5.384 MB / 0.5345 GB, free: 104 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/3.289, allocations: 3.625 kB / 0.5345 GB, free: 104 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/3.291, allocations: 221.3 kB / 0.5347 GB, free: 104 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002632/3.294, allocations: 466.3 kB / 0.5351 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/3.294, allocations: 20.23 kB / 0.5351 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/3.31, allocations: 9.547 MB / 0.5445 GB, free: 96.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.061e-05/3.31, allocations: 6.5 kB / 0.5445 GB, free: 96.92 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01032/3.32, allocations: 3.51 MB / 0.5479 GB, free: 95.18 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01307/3.333, allocations: 4.975 MB / 0.5528 GB, free: 92.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/3.335, allocations: 454.5 kB / 0.5532 GB, free: 92.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005896/3.336, allocations: 14.31 kB / 0.5532 GB, free: 92.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00225/3.338, allocations: 47 kB / 0.5532 GB, free: 92.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/3.338, allocations: 87.7 kB / 0.5533 GB, free: 92.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/3.338, allocations: 44.78 kB / 0.5534 GB, free: 92.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002593/3.341, allocations: 1.023 MB / 0.5544 GB, free: 91.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005087/3.346, allocations: 0.6051 MB / 0.555 GB, free: 91.76 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.001721/3.348, allocations: 0.5362 MB / 0.5555 GB, free: 91.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006241/3.354, allocations: 2.324 MB / 0.5578 GB, free: 90.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/3.354, allocations: 0 / 0.5578 GB, free: 90.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004172/3.358, allocations: 1.513 MB / 0.5592 GB, free: 89.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/3.362, allocations: 368.5 kB / 0.5596 GB, free: 89.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/3.38, allocations: 4.805 MB / 0.5643 GB, free: 87.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004899/3.385, allocations: 2.563 MB / 0.5668 GB, free: 86.53 MB / 394.7 MB Notification: Performance of SimCode: time 2.034e-06/3.385, allocations: 3.906 kB / 0.5668 GB, free: 86.53 MB / 394.7 MB