Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",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.743/1.743, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2387/1.982, allocations: 41.12 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/2.076, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3301/2.406, allocations: 77.36 MB / 335.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/2.406, allocations: 79.2 kB / 335.5 MB, free: 10.71 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.2251/2.631, allocations: 36.5 MB / 372 MB, free: 11.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/2.631, allocations: 19.98 kB / 372 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000611/2.632, allocations: 118.6 kB / 372.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/2.634, allocations: 0.6057 MB / 372.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/2.634, allocations: 42 kB / 372.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/2.634, allocations: 60 kB / 372.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003034/2.637, allocations: 0.7225 MB / 373.5 MB, free: 9.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/2.641, allocations: 0.8018 MB / 374.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/2.641, allocations: 4 kB / 374.3 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/2.641, allocations: 4 kB / 374.3 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/2.641, allocations: 24 kB / 374.3 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/2.652, allocations: 3.396 MB / 377.7 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/2.653, allocations: 489.2 kB / 378.2 MB, free: 4.961 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/2.655, allocations: 427.6 kB / 378.6 MB, free: 4.539 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/2.655, allocations: 8.5 kB / 378.6 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/2.656, allocations: 55 kB / 378.7 MB, free: 4.469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 1.656e-05/2.656, allocations: 0 / 378.7 MB, free: 4.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.02216/2.678, allocations: 3.634 MB / 382.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/2.678, allocations: 90.2 kB / 382.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/2.68, allocations: 466.1 kB / 382.9 MB, free: 88 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003324/2.68, allocations: 33.64 kB / 382.9 MB, free: 48 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/2.68, allocations: 344.2 kB / 383.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008503/2.681, allocations: 429.5 kB / 383.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/2.682, allocations: 0 / 383.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000373/2.682, allocations: 394.7 kB / 384.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/2.684, allocations: 350.5 kB / 384.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/2.686, allocations: 485.9 kB / 384.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/2.688, allocations: 402 kB / 385.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/2.688, allocations: 0 / 385.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006676/2.695, allocations: 1.103 MB / 386.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/2.695, allocations: 8 kB / 386.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/2.695, allocations: 0 / 386.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008252/2.696, allocations: 150.5 kB / 386.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/2.699, allocations: 295.5 kB / 386.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009225/2.708, allocations: 4.539 MB / 391.3 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/2.711, allocations: 68.02 kB / 391.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/2.711, allocations: 39.98 kB / 391.5 MB, free: 7.066 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005371/2.712, allocations: 119.7 kB / 391.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005067/2.712, allocations: 86.97 kB / 391.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003853/2.716, allocations: 0.7123 MB / 392.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.397e-05/2.716, allocations: 19.97 kB / 392.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/2.717, allocations: 4 kB / 392.4 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.055e-05/2.717, allocations: 3.984 kB / 392.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009795/2.726, allocations: 2.739 MB / 395.1 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/2.726, allocations: 4 kB / 395.1 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/2.729, allocations: 260 kB / 395.4 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007175/2.73, allocations: 122.4 kB / 395.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/2.73, allocations: 19.98 kB / 395.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00802/2.738, allocations: 4.162 MB / 399.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-05/2.738, allocations: 7.938 kB / 399.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00734/2.745, allocations: 1.856 MB / 401.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009909/2.755, allocations: 2.749 MB / 404.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006378/2.756, allocations: 168 kB / 404.5 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004813/2.757, allocations: 4 kB / 404.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/2.76, allocations: 67.94 kB / 404.5 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/2.76, allocations: 68.55 kB / 404.6 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/2.76, allocations: 43.98 kB / 404.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001094/2.761, allocations: 358.9 kB / 405 MB, free: 8.758 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004059/2.765, allocations: 220 kB / 405.2 MB, free: 8.543 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005404/2.766, allocations: 147 kB / 405.4 MB, free: 8.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005077/2.771, allocations: 1.261 MB / 406.6 MB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.88e-05/2.771, allocations: 4 kB / 406.6 MB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00314/2.774, allocations: 0.8432 MB / 407.5 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/2.777, allocations: 127 kB / 407.6 MB, free: 6.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009516/2.786, allocations: 1.751 MB / 409.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002571/2.789, allocations: 1.162 MB / 410.5 MB, free: 3.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.094e-06/2.789, allocations: 4 kB / 410.5 MB, free: 3.086 MB / 346.7 MB