Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",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.736/1.736, allocations: 194.9 MB / 202.5 MB, free: 6.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2455/1.981, allocations: 46.84 MB / 249.3 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/2.072, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2996/2.371, allocations: 86.41 MB / 380.3 MB, free: 6.051 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/2.372, allocations: 78.08 kB / 380.3 MB, free: 6.039 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.2333/2.605, allocations: 51.08 MB / 431.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/2.605, allocations: 12 kB / 431.4 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/2.607, allocations: 288.4 kB / 431.7 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/2.612, allocations: 1.341 MB / 433.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/2.612, allocations: 71.91 kB / 433.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000704/2.613, allocations: 124 kB / 433.3 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007012/2.62, allocations: 1.66 MB / 434.9 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006577/2.626, allocations: 1.494 MB / 436.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.989e-05/2.627, allocations: 3.906 kB / 436.4 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/2.627, allocations: 0 / 436.4 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.768e-05/2.627, allocations: 52 kB / 436.5 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02632/2.653, allocations: 7.291 MB / 443.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004367/2.658, allocations: 1.225 MB / 445 MB, free: 9.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/2.662, allocations: 1.163 MB / 446.1 MB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/2.662, allocations: 41.62 kB / 446.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/2.662, allocations: 60.56 kB / 446.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=240): time 8.165e-06/2.662, allocations: 0 / 446.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=372): time 0.07643/2.738, allocations: 12.13 MB / 458.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/2.739, allocations: 90.33 kB / 458.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/2.743, allocations: 1.489 MB / 459.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007422/2.744, allocations: 25.7 kB / 460 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/2.744, allocations: 0.6647 MB / 460.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002136/2.747, allocations: 1.173 MB / 461.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/2.747, allocations: 4 kB / 461.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003373/2.747, allocations: 433.1 kB / 462.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004323/2.752, allocations: 1.151 MB / 463.4 MB, free: 7.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004942/2.757, allocations: 1.424 MB / 464.8 MB, free: 5.801 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005357/2.762, allocations: 1.325 MB / 466.1 MB, free: 4.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.44e-05/2.762, allocations: 3.906 kB / 466.1 MB, free: 4.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.02098/2.783, allocations: 4.21 MB / 470.3 MB, free: 244 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/2.783, allocations: 8 kB / 470.4 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/2.783, allocations: 0 / 470.4 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/2.795, allocations: 1.355 MB / 471.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008226/2.803, allocations: 0.5889 MB / 472.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06537/2.868, allocations: 18.36 MB / 490.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006698/2.875, allocations: 79.98 kB / 490.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/2.876, allocations: 116 kB / 490.8 MB, free: 10.93 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 302 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 55,3 42} Notification: Performance of prepare postOptimizeDAE: time 0.001224/2.877, allocations: 154.5 kB / 491 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/2.879, allocations: 256.8 kB / 491.2 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/2.898, allocations: 4.107 MB / 495.4 MB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.126e-05/2.898, allocations: 39.94 kB / 495.4 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/2.898, allocations: 0 / 495.4 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.273e-05/2.898, allocations: 23.92 kB / 495.4 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1655/3.064, allocations: 8.647 MB / 0.4923 GB, free: 140.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-05/3.064, allocations: 3.969 kB / 0.4923 GB, free: 140.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005652/3.069, allocations: 0.511 MB / 0.4928 GB, free: 140.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009634/3.079, allocations: 1.251 MB / 0.494 GB, free: 140.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000732/3.08, allocations: 29.97 kB / 0.494 GB, free: 140.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03534/3.115, allocations: 16.49 MB / 0.5101 GB, free: 131.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04695/3.162, allocations: 11.71 MB / 0.5215 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02818/3.19, allocations: 6.211 MB / 0.5276 GB, free: 125.7 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02691/3.217, allocations: 8.43 MB / 0.5358 GB, free: 121.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/3.22, allocations: 0.6802 MB / 0.5365 GB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/3.221, allocations: 11.5 kB / 0.5365 GB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004808/3.226, allocations: 92.27 kB / 0.5366 GB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008776/3.227, allocations: 194.3 kB / 0.5368 GB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003803/3.227, allocations: 103.3 kB / 0.5369 GB, free: 120.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002725/3.23, allocations: 1.131 MB / 0.538 GB, free: 120.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006031/3.236, allocations: 0.7981 MB / 0.5388 GB, free: 120.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET1.x,advancedSolenoid.coil1.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedSolenoid.g_mLeakWork.Phi,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 254 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 43,3 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/3.237, allocations: 245.7 kB / 0.539 GB, free: 120.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01128/3.249, allocations: 4.028 MB / 0.5429 GB, free: 118.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/3.249, allocations: 0 / 0.5429 GB, free: 118.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007503/3.256, allocations: 2.647 MB / 0.5455 GB, free: 116.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/3.259, allocations: 233.5 kB / 0.5457 GB, free: 116.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/3.28, allocations: 5.295 MB / 0.5509 GB, free: 114.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005637/3.285, allocations: 1.997 MB / 0.5529 GB, free: 112.9 MB / 394.7 MB Notification: Performance of SimCode: time 2.194e-06/3.285, allocations: 4 kB / 0.5529 GB, free: 112.9 MB / 394.7 MB