Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 1.72/1.72, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.536e-05, allocations: 6.188 kB / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08459/0.08465, allocations: 38.76 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01506/0.09977, allocations: 8.491 MB / 275.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008054/0.1079, allocations: 2.814 MB / 278.2 MB, free: 5.777 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.11, allocations: 55.88 kB / 278.3 MB, free: 5.723 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.1121, allocations: 0.5443 MB / 278.8 MB, free: 5.176 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.1161, allocations: 0.8374 MB / 279.6 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.1187, allocations: 0.4953 MB / 280.1 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004576/0.1233, allocations: 1.569 MB / 281.7 MB, free: 2.27 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.1245, allocations: 461.9 kB / 282.1 MB, free: 1.816 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.1266, allocations: 0.8377 MB / 283 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002489/0.1291, allocations: 1.051 MB / 284 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.1302, allocations: 139.9 kB / 284.2 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006647/0.1309, allocations: 104 kB / 284.3 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006278/0.1315, allocations: 438.1 kB / 284.7 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007932/0.1323, allocations: 220 kB / 284.9 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005136/0.1375, allocations: 3.202 MB / 288.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1376, allocations: 4 kB / 288.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1376, allocations: 0 / 288.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000129/0.1377, allocations: 0 / 288.1 MB, free: 11.82 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 513 * Number of variables: 513 Notification: Performance of Generate backend data structure: time 0.00921/0.1469, allocations: 2.383 MB / 290.5 MB, free: 9.371 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.147, allocations: 12.03 kB / 290.5 MB, free: 9.359 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.1481, allocations: 288.4 kB / 290.8 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/0.1525, allocations: 1.367 MB / 292.2 MB, free: 7.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.1528, allocations: 152 kB / 292.3 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006462/0.1535, allocations: 200 kB / 292.5 MB, free: 7.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006644/0.1601, allocations: 1.805 MB / 294.3 MB, free: 5.441 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-05/0.1603, allocations: 7.906 kB / 294.3 MB, free: 5.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002899/0.1606, allocations: 83.94 kB / 294.4 MB, free: 5.352 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/0.1606, allocations: 48 kB / 294.5 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007597/0.1683, allocations: 1.835 MB / 296.3 MB, free: 3.453 MB / 250.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2399/0.4082, allocations: 7.11 MB / 303.4 MB, free: 25.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006527/0.4148, allocations: 2.13 MB / 305.5 MB, free: 24.21 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004471/0.4153, allocations: 130.2 kB / 305.7 MB, free: 24.12 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.4153, allocations: 54.62 kB / 305.7 MB, free: 24.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=220): time 5.55e-06/0.4153, allocations: 0 / 305.7 MB, free: 24.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=336): time 0.1008/0.5162, allocations: 16.03 MB / 321.7 MB, free: 16.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1975/0.7138, allocations: 30.88 MB / 352.6 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/0.7176, allocations: 1.581 MB / 354.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006652/0.7183, allocations: 81.7 kB / 354.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.7195, allocations: 0.8949 MB / 355.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001829/0.7213, allocations: 1.115 MB / 356.3 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/0.7218, allocations: 68 kB / 356.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003434/0.7222, allocations: 425.4 kB / 356.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00477/0.7269, allocations: 1.17 MB / 357.9 MB, free: 11.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005218/0.7322, allocations: 1.457 MB / 359.4 MB, free: 10.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005362/0.7376, allocations: 1.362 MB / 360.8 MB, free: 8.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.7377, allocations: 4 kB / 360.8 MB, free: 8.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.01431/0.752, allocations: 3.743 MB / 364.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/0.7522, allocations: 33.7 kB / 364.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.7522, allocations: 4 kB / 364.5 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01568/0.7679, allocations: 1.391 MB / 365.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005769/0.7737, allocations: 0.5656 MB / 366.5 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.7872, allocations: 9.714 MB / 376.2 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004534/0.7918, allocations: 159.9 kB / 376.4 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000832/0.7927, allocations: 123.9 kB / 376.5 MB, free: 8.113 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (292): * Single equations (assignments): 282 * Array equations: 2 * 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%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 48,2 38} Notification: Performance of prepare postOptimizeDAE: time 0.0023/0.795, allocations: 0.5712 MB / 377.1 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008664/0.7959, allocations: 252.9 kB / 377.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/0.8109, allocations: 3.903 MB / 381.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01313/0.8241, allocations: 3.308 MB / 384.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.408e-05/0.8241, allocations: 4 kB / 384.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.721e-05/0.8242, allocations: 15.94 kB / 384.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0292/0.8535, allocations: 8.105 MB / 392.6 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/0.8536, allocations: 4.031 kB / 392.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005155/0.8587, allocations: 491.3 kB / 393.1 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01582/0.8746, allocations: 1.449 MB / 394.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007156/0.8754, allocations: 87.91 kB / 394.7 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.8887, allocations: 9.742 MB / 404.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4445/1.333, allocations: 27.07 MB / 431.5 MB, free: 106.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03828/1.372, allocations: 5.491 MB / 437 MB, free: 105.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002688/1.374, allocations: 0.5842 MB / 437.6 MB, free: 105.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009355/1.384, allocations: 64.25 kB / 437.6 MB, free: 105.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009488/1.393, allocations: 138.5 kB / 437.7 MB, free: 105.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/1.395, allocations: 214 kB / 438 MB, free: 105.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000668/1.395, allocations: 111 kB / 438.1 MB, free: 105.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.01237/1.408, allocations: 1.232 MB / 439.3 MB, free: 105.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.408, allocations: 0 / 439.3 MB, free: 105.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006422/1.414, allocations: 0.748 MB / 440 MB, free: 105.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,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 (229): * Single equations (assignments): 222 * 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%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 37,5 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001762/1.416, allocations: 290.8 kB / 440.3 MB, free: 105.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01558/1.432, allocations: 3.789 MB / 444.1 MB, free: 104.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.432, allocations: 1.375 kB / 444.1 MB, free: 104.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007414/1.439, allocations: 2.374 MB / 446.5 MB, free: 103.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.442, allocations: 308 kB / 446.8 MB, free: 103.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/1.463, allocations: 7.781 MB / 454.6 MB, free: 98.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/1.465, allocations: 1.743 MB / 456.3 MB, free: 98.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/1.468, allocations: 231.6 kB / 456.5 MB, free: 98.11 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/1.468, allocations: 0 / 456.5 MB, free: 98.11 MB / 346.7 MB Notification: Performance of Templates: time 0.4804/1.948, allocations: 118.9 MB / 0.562 GB, free: 120.4 MB / 362.7 MB